Class InteropException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.oracle.truffle.api.interop.InteropException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ArityException, InvalidArrayIndexException, InvalidBufferOffsetException, StopIterationException, UnknownIdentifierException, UnknownKeyException, UnsupportedMessageException, UnsupportedTypeException
Common super class for exceptions that can occur when sending
interop
messages
. This super class is used to catch any kind of these exceptions.- Since:
- 0.11
- See Also:
-
Method Summary
Methods inherited from class Throwable
addSuppressed, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getCause
-
initCause
Deprecated.Do no longer use the cause will be initialized finally.Initializes the casue for an interop exception. Will no longer be supported as of 20.3. Pass in the cause using the interop constructors instead. -
fillInStackTrace
No stack trace for interop exceptions.- Overrides:
fillInStackTrace
in classThrowable
- Since:
- 20.2
-