public class ScriptEvaluationException extends ScriptException
scriptBody, scriptName, scriptType| Constructor and Description |
|---|
ScriptEvaluationException(Script script,
java.lang.String message)
Creates a new script evaluation exception for the designated script
declaration and the designated additional message.
|
ScriptEvaluationException(Script script,
java.lang.String message,
java.lang.Throwable cause)
Creates a new script evaluation exception for the designated script
declaration, the designated additional message and the cause.
|
ScriptEvaluationException(java.lang.String scriptType,
java.lang.String scriptName,
java.lang.String scriptBody,
java.lang.String message)
Creates a new script environment exception with the designated details.
|
getScriptBody, getScriptName, getScriptTypepublic ScriptEvaluationException(Script script, java.lang.String message)
script - the script declarationmessage - The message describing the problem leading to this
exception.public ScriptEvaluationException(Script script, java.lang.String message, java.lang.Throwable cause)
script - the script declarationmessage - The message describing the problem leading to this
exception.cause - The cause for this exception.public ScriptEvaluationException(java.lang.String scriptType,
java.lang.String scriptName,
java.lang.String scriptBody,
java.lang.String message)
scriptType - The type of the script that caused this exception. This must not be
null.scriptName - The name of the script that caused this exception.scriptBody - The actual script (its content) that caused this exception. This must not be
null.message - The message describing the problem leading to this exception.