Package io.github.jwharm.javagi.interop
Class InteropException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.jwharm.javagi.interop.InteropException
- All Implemented Interfaces:
Serializable
Thrown when an unexpected error occurs when calling a native function or
reading/writing from/to native memory.
- See Also:
-
Constructor Summary
ConstructorDescriptionInteropException
(String message) Create an InteropException with the provided message.InteropException
(Throwable cause) Create an InteropException that wraps another Throwable. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InteropException
Create an InteropException that wraps another Throwable.- Parameters:
cause
- the Throwable to wrap in the InteropException
-
InteropException
Create an InteropException with the provided message.- Parameters:
message
- the exception message.
-