public class ScriptCompilationException
extends org.springframework.core.NestedRuntimeException
| 构造器和说明 |
|---|
ScriptCompilationException(ScriptSource scriptSource,
String msg)
Constructor for ScriptCompilationException.
|
ScriptCompilationException(ScriptSource scriptSource,
String msg,
Throwable cause)
Constructor for ScriptCompilationException.
|
ScriptCompilationException(ScriptSource scriptSource,
Throwable cause)
Constructor for ScriptCompilationException.
|
ScriptCompilationException(String msg)
Constructor for ScriptCompilationException.
|
ScriptCompilationException(String msg,
Throwable cause)
Constructor for ScriptCompilationException.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ScriptSource |
getScriptSource()
Return the source for the offending script.
|
contains, getMessage, getMostSpecificCause, getRootCausepublic ScriptCompilationException(String msg)
msg - the detail messagepublic ScriptCompilationException(String msg, Throwable cause)
msg - the detail messagecause - the root cause (usually from using an underlying script compiler API)public ScriptCompilationException(ScriptSource scriptSource, String msg)
scriptSource - the source for the offending scriptmsg - the detail messagepublic ScriptCompilationException(ScriptSource scriptSource, Throwable cause)
scriptSource - the source for the offending scriptcause - the root cause (usually from using an underlying script compiler API)public ScriptCompilationException(ScriptSource scriptSource, String msg, Throwable cause)
scriptSource - the source for the offending scriptmsg - the detail messagecause - the root cause (usually from using an underlying script compiler API)@Nullable public ScriptSource getScriptSource()
null if not available