public class ScriptCompilationException
extends org.springframework.core.NestedRuntimeException
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
ScriptSource |
getScriptSource()
Return the source for the offending script.
|
contains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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)public ScriptSource getScriptSource()
null if not available