Class InteropException

All Implemented Interfaces:
Serializable

public class InteropException extends RuntimeException
Thrown when an unexpected error occurs when calling a native function or reading/writing from/to native memory.
See Also:
  • Constructor Details

    • InteropException

      public InteropException(Throwable cause)
      Create an InteropException that wraps another Throwable.
      Parameters:
      cause - the Throwable to wrap in the InteropException
    • InteropException

      public InteropException(String message)
      Create an InteropException with the provided message.
      Parameters:
      message - the exception message.