Class ScriptEvaluationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.aristaflow.adept2.model.scripts.ScriptException
de.aristaflow.adept2.model.scripts.ScriptEvaluationException
- All Implemented Interfaces:
Serializable
An exception indicating that there is a problem with the evaluation of a
script. The problem lies not in the environment but usually in the code of
the script.
- Author:
- Ulrich Kreher
- See Also:
-
Field Summary
Fields inherited from class de.aristaflow.adept2.model.scripts.ScriptException
scriptBody, scriptName, scriptType -
Constructor Summary
ConstructorsConstructorDescriptionScriptEvaluationException(Script script, String message) Creates a new script evaluation exception for the designated script declaration and the designated additional message.ScriptEvaluationException(Script script, String message, Throwable cause) Creates a new script evaluation exception for the designated script declaration, the designated additional message and the cause.ScriptEvaluationException(String scriptType, String scriptName, String scriptBody, String message) Creates a new script environment exception with the designated details. -
Method Summary
Methods inherited from class de.aristaflow.adept2.model.scripts.ScriptException
getScriptBody, getScriptName, getScriptTypeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ScriptEvaluationException
Creates a new script evaluation exception for the designated script declaration and the designated additional message.- Parameters:
script- the script declarationmessage- The message describing the problem leading to this exception.
-
ScriptEvaluationException
Creates a new script evaluation exception for the designated script declaration, the designated additional message and the cause.- Parameters:
script- the script declarationmessage- The message describing the problem leading to this exception.cause- The cause for this exception.
-
ScriptEvaluationException
public ScriptEvaluationException(String scriptType, String scriptName, String scriptBody, String message) Creates a new script environment exception with the designated details.- Parameters:
scriptType- The type of the script that caused this exception. This must not benull.scriptName- The name of the script that caused this exception.scriptBody- The actual script (its content) that caused this exception. This must not benull.message- The message describing the problem leading to this exception.
-