Class MarshalledException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.graalvm.nativebridge.MarshalledException
- All Implemented Interfaces:
Serializable
An exception representing an exception thrown over the isolate boundary.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMarshalledException(String foreignExceptionClassName, String foreignExceptionMessage, StackTraceElement[] stackTrace) Creates aMarshalledExceptionfor foreign exception of theforeignExceptionClassNametype with theforeignExceptionMessagemessage. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
MarshalledException
public MarshalledException(String foreignExceptionClassName, String foreignExceptionMessage, StackTraceElement[] stackTrace) Creates aMarshalledExceptionfor foreign exception of theforeignExceptionClassNametype with theforeignExceptionMessagemessage.- Parameters:
foreignExceptionClassName- the foreign exception class nameforeignExceptionMessage- the foreign exception messagestackTrace- the merged stack trace.
-
-
Method Details
-
getForeignExceptionClassName
Returns the foreign exception class name. -
fillInStackTrace
- Overrides:
fillInStackTracein classThrowable
-
toString
-