Inherits Exception.
Inherited by org.qscript.errors.EvaluationException, and org.qscript.errors.SyntaxException.
Public Member Functions | |
ScriptException (String message) | |
ScriptException (Token token, ErrorType type) | |
ScriptException (ErrorType type) | |
Public Attributes | |
final int | lineNo |
final int | charNo |
final int | charWidth |
final ErrorType | type |
Static Protected Attributes | |
static final String | LONG_MESSAGE = "{0} in line: {1} : at char: {2}" |
static final String | SHORT_MESSAGE = "{0}" |
The parent class for all exceptions thrown by the QScript library classes..
Create a ScriptException.
token | the token where the exception occurred (can be null for generic error) |
type | the enumerated error type placeholder for additional information |
org.qscript.errors.ScriptException.ScriptException | ( | ErrorType | type | ) |
Create a ScriptException.
type | the enumerated error type placeholder for additional information |