类 StandardScriptEvalException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.scripting.support.StandardScriptEvalException
- 所有已实现的接口:
Serializable
public class StandardScriptEvalException extends RuntimeException
Exception decorating aScriptException
coming out of JSR-223 script evaluation, i.e. aScriptEngine.eval(java.lang.String, javax.script.ScriptContext)
call orInvocable.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 aScriptException
root cause passed into an outer exception.- 从以下版本开始:
- 4.2.2
- 作者:
- Juergen Hoeller, Sebastien Deleuze
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 StandardScriptEvalException(ScriptException ex)
Construct a new script eval exception with the specified original exception.
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Throwable
fillInStackTrace()
ScriptException
getScriptException()
从类继承的方法 java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
构造器详细资料
StandardScriptEvalException
public StandardScriptEvalException(ScriptException ex)
Construct a new script eval exception with the specified original exception.
方法详细资料
getScriptException
public final ScriptException getScriptException()
fillInStackTrace
public Throwable fillInStackTrace()
- 覆盖:
fillInStackTrace
在类中Throwable