Class StandardScriptEvalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.scripting.support.StandardScriptEvalException
- All Implemented Interfaces:
Serializable
Exception decorating a
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.
- Since:
- 4.2.2
- Author:
- Juergen Hoeller, Sebastien Deleuze
- See Also:
-
Constructor Summary
ConstructorDescriptionConstruct a new script eval exception with the specified original exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
StandardScriptEvalException
Construct a new script eval exception with the specified original exception.
-
-
Method Details
-
getScriptException
-
fillInStackTrace
- Overrides:
fillInStackTrace
in classThrowable
-