Package groovy.util
Class ScriptException
java.lang.Object
java.lang.Throwable
java.lang.Exception
groovy.util.ScriptException
- All Implemented Interfaces:
Serializable
Indicates an error while processing a script.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a script exception with no detail message.ScriptException(String message) Creates a script exception with the supplied detail message.ScriptException(String message, Throwable cause) Creates a script exception with the supplied detail message and cause.ScriptException(Throwable cause) Creates a script exception with the supplied cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ScriptException
public ScriptException()Creates a script exception with no detail message. -
ScriptException
Creates a script exception with the supplied detail message.- Parameters:
message- the detail message
-
ScriptException
Creates a script exception with the supplied detail message and cause.- Parameters:
message- the detail messagecause- the underlying cause
-
ScriptException
Creates a script exception with the supplied cause.- Parameters:
cause- the underlying cause
-