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 Details

    • PanamaException

      public PanamaException(String message)
      Creates a new Panama exception with the specified message.
      Parameters:
      message - the detail message
    • PanamaException

      public PanamaException(String message, Throwable cause)
      Creates a new Panama exception with the specified message and cause.
      Parameters:
      message - the detail message
      cause - the underlying cause
    • PanamaException

      public PanamaException(Throwable cause)
      Creates a new Panama exception with the specified cause.
      Parameters:
      cause - the underlying cause