QScript  2.1.2
Expression and algorithm evaluator
 All Classes Namespaces Functions Variables Pages
Public Member Functions | List of all members
org.qscript.errors.SyntaxException Class Reference

Inherits org.qscript.errors.ScriptException.

Public Member Functions

 SyntaxException (ErrorType type)
 
 SyntaxException (ErrorType type, Token token)
 
- Public Member Functions inherited from org.qscript.errors.ScriptException
 ScriptException (String message)
 
 ScriptException (Token token, ErrorType type)
 
 ScriptException (ErrorType type)
 

Additional Inherited Members

- Public Attributes inherited from org.qscript.errors.ScriptException
final int lineNo
 
final int charNo
 
final int charWidth
 
final ErrorType type
 
- Static Protected Attributes inherited from org.qscript.errors.ScriptException
static final String LONG_MESSAGE = "{0} in line: {1} : at char: {2}"
 
static final String SHORT_MESSAGE = "{0}"
 

Detailed Description

Syntax exception for errors caused during the script initializing process.

Author
Peter Lager

Constructor & Destructor Documentation

org.qscript.errors.SyntaxException.SyntaxException ( ErrorType  type)

Create a syntax exception for this error type from this token

Parameters
typethe error type
org.qscript.errors.SyntaxException.SyntaxException ( ErrorType  type,
Token  token 
)

Create a syntax exception for this error type from this token

Parameters
typethe error type
tokenthe token where the error was generated

The documentation for this class was generated from the following file: