Class ScriptEnvironmentException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.aristaflow.adept2.model.scripts.ScriptException
-
- de.aristaflow.adept2.model.scripts.ScriptEnvironmentException
-
- All Implemented Interfaces:
Serializable
public class ScriptEnvironmentException extends ScriptException
An exception indicating that there is a problem with the environment of a script, that are problems with input or output parameter or the configuration of environment variables.- Author:
- Ulrich Kreher
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.aristaflow.adept2.model.scripts.ScriptException
scriptBody, scriptName, scriptType
-
-
Constructor Summary
Constructors Constructor Description ScriptEnvironmentException(Script script, String message)
Creates a new script environment exception for the designated script declaration and the designated additional message.ScriptEnvironmentException(Script script, String message, Throwable cause)
Creates a new script environment exception for the designated script declaration, the designated additional message and the cause.ScriptEnvironmentException(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, getScriptType
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ScriptEnvironmentException
public ScriptEnvironmentException(Script script, String message)
Creates a new script environment 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.
-
ScriptEnvironmentException
public ScriptEnvironmentException(Script script, String message, Throwable cause)
Creates a new script environment 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.
-
ScriptEnvironmentException
public ScriptEnvironmentException(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.
-
-