|
|||||||||
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.
Field Summary | |
---|---|
private ScriptSource |
scriptSource
|
Constructor Summary | |
---|---|
ScriptCompilationException(ScriptSource scriptSource,
java.lang.String msg,
java.lang.Throwable cause)
Constructor for ScriptCompilationException. |
|
ScriptCompilationException(ScriptSource scriptSource,
java.lang.Throwable cause)
Constructor for ScriptCompilationException. |
|
ScriptCompilationException(java.lang.String msg)
Constructor for ScriptCompilationException. |
|
ScriptCompilationException(java.lang.String msg,
java.lang.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 |
Field Detail |
---|
private ScriptSource scriptSource
Constructor Detail |
---|
public ScriptCompilationException(java.lang.String msg)
msg
- the detail messagepublic ScriptCompilationException(java.lang.String msg, java.lang.Throwable cause)
msg
- the detail messagecause
- the root cause (usually from using an underlying
script compiler API)public ScriptCompilationException(ScriptSource scriptSource, java.lang.Throwable cause)
scriptSource
- the source for the offending scriptcause
- the root cause (usually from using an underlying
script compiler API)public ScriptCompilationException(ScriptSource scriptSource, java.lang.String msg, java.lang.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 |