Class ScriptException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.microproxy.starlark.ScriptException
All Implemented Interfaces:
Serializable

public final class ScriptException extends Exception
A Starlark script failed to parse, compile or run its top-level statements.
See Also:
  • Constructor Details

    • ScriptException

      public ScriptException(String message)
      Describes a script failure without an underlying exception.
      Parameters:
      message - the diagnostic, including script location when available
    • ScriptException

      public ScriptException(String message, Throwable cause)
      Describes a script failure and preserves its underlying exception.
      Parameters:
      message - the diagnostic, including script location when available
      cause - the parse, evaluation or interruption failure