public class StandardScriptEvalException extends RuntimeException
ScriptException coming out of
JSR-223 script evaluation, i.e. a ScriptEngine.eval(java.lang.String, javax.script.ScriptContext)
call or Invocable.invokeMethod(java.lang.Object, java.lang.String, java.lang.Object...) /
Invocable.invokeFunction(java.lang.String, java.lang.Object...) call.
This exception does not print the Java stacktrace, since the JSR-223
ScriptException results in a rather convoluted text output.
From that perspective, this exception is primarily a decorator for a
ScriptException root cause passed into an outer exception.
| Constructor and Description |
|---|
StandardScriptEvalException(ScriptException ex)
Construct a new script eval exception with the specified original exception.
|
| Modifier and Type | Method and Description |
|---|---|
Throwable |
fillInStackTrace() |
ScriptException |
getScriptException() |
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic StandardScriptEvalException(ScriptException ex)
public final ScriptException getScriptException()
public Throwable fillInStackTrace()
fillInStackTrace in class Throwable