Package groovy.util

Class ScriptException

All Implemented Interfaces:
Serializable

public class ScriptException extends Exception
Indicates an error while processing a script.
See Also:
  • Constructor Details

    • ScriptException

      public ScriptException()
      Creates a script exception with no detail message.
    • ScriptException

      public ScriptException(String message)
      Creates a script exception with the supplied detail message.
      Parameters:
      message - the detail message
    • ScriptException

      public ScriptException(String message, Throwable cause)
      Creates a script exception with the supplied detail message and cause.
      Parameters:
      message - the detail message
      cause - the underlying cause
    • ScriptException

      public ScriptException(Throwable cause)
      Creates a script exception with the supplied cause.
      Parameters:
      cause - the underlying cause