Package org.microproxy.starlark
Class ScriptException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.microproxy.starlark.ScriptException
- All Implemented Interfaces:
Serializable
A Starlark script failed to parse, compile or run its top-level statements.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionScriptException(String message) Describes a script failure without an underlying exception.ScriptException(String message, Throwable cause) Describes a script failure and preserves its underlying exception. -
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
Describes a script failure without an underlying exception.- Parameters:
message- the diagnostic, including script location when available
-
ScriptException
Describes a script failure and preserves its underlying exception.- Parameters:
message- the diagnostic, including script location when availablecause- the parse, evaluation or interruption failure
-