Class PanamaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
ai.tegmentum.wasmtime4j.exception.WasmException
ai.tegmentum.wasmtime4j.panama.exception.PanamaException
- All Implemented Interfaces:
Serializable
public class PanamaException
extends ai.tegmentum.wasmtime4j.exception.WasmException
Base exception for Panama FFI implementation errors.
This is the root exception class for all Panama-specific errors in the WebAssembly runtime. It
provides a common base for exception handling across the Panama implementation, and extends
WasmException for consistency with the JNI implementation.
- Since:
- 1.0.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPanamaException(String message) Creates a new Panama exception with the specified message.PanamaException(String message, Throwable cause) Creates a new Panama exception with the specified message and cause.PanamaException(Throwable cause) Creates a new Panama exception with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PanamaException
Creates a new Panama exception with the specified message.- Parameters:
message- the detail message
-
PanamaException
-
PanamaException
Creates a new Panama exception with the specified cause.- Parameters:
cause- the underlying cause
-