|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.springframework.core.NestedRuntimeException org.springframework.scripting.ScriptCompilationException
public class ScriptCompilationException
Exception to be thrown on script compilation failure.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
ScriptSource |
getScriptSource()
Return the source for the offending script. |
Methods inherited from class org.springframework.core.NestedRuntimeException |
---|
contains, getMessage, getMostSpecificCause, getRootCause |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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)Method Detail |
---|
public ScriptSource getScriptSource()
null
if not available
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |