Class 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:
  • Constructor Details

    • 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 declaration
      message - 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 declaration
      message - 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 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.