public final class UserScriptException extends GraalJSException
GraalJSException.IsIdenticalOrUndefined, GraalJSException.JSStackTraceElement| Modifier and Type | Method and Description |
|---|---|
static UserScriptException |
create(Object exceptionObject) |
static UserScriptException |
create(Object exceptionObject,
com.oracle.truffle.api.nodes.Node originatingNode,
int stackTraceLimit) |
static UserScriptException |
createCapture(Object exceptionObject,
com.oracle.truffle.api.nodes.Node originatingNode,
int stackTraceLimit) |
static UserScriptException |
createCapture(Object exceptionObject,
com.oracle.truffle.api.nodes.Node originatingNode,
int stackTraceLimit,
com.oracle.truffle.api.object.DynamicObject skipFramesUpTo,
boolean customSkip) |
Object |
getErrorObject()
Could still be null due to lazy initialization.
|
com.oracle.truffle.api.interop.ExceptionType |
getExceptionType() |
boolean |
isException() |
RuntimeException |
throwException() |
fillInStackTrace, fillInStackTrace, fillInStackTrace, getErrorObjectEager, getErrorObjectEager, getJSStackTrace, getJSStackTrace, getLanguage, getSourceLocationInterop, hasLanguage, hasSourceLocation, identityHashCode, printJSStackTrace, printJSStackTrace, setJSStackTrace, toDisplayStringfillInStackTrace, getCause, getLocation, getStackTraceElementLimitaddSuppressed, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static UserScriptException createCapture(Object exceptionObject, com.oracle.truffle.api.nodes.Node originatingNode, int stackTraceLimit, com.oracle.truffle.api.object.DynamicObject skipFramesUpTo, boolean customSkip)
public static UserScriptException createCapture(Object exceptionObject, com.oracle.truffle.api.nodes.Node originatingNode, int stackTraceLimit)
public static UserScriptException create(Object exceptionObject, com.oracle.truffle.api.nodes.Node originatingNode, int stackTraceLimit)
public static UserScriptException create(Object exceptionObject)
public Object getErrorObject()
GraalJSExceptiongetErrorObject in class GraalJSExceptionpublic boolean isException()
public RuntimeException throwException()
public com.oracle.truffle.api.interop.ExceptionType getExceptionType()