public class ScriptCompilationException extends NestedRuntimeException
Constructor and Description |
---|
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, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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, 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)
msg
- the detail messagescriptSource
- the source for the offending scriptcause
- the root cause (usually from using an underlying
script compiler API)public ScriptSource getScriptSource()
null
if not available