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

Inherits org.qscript.errors.ScriptException.

Public Member Functions

 EvaluationException (ErrorType type)
 
 EvaluationException (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

Exception thrown during evaluation of the expression.

Author
Peter Lager

Constructor & Destructor Documentation

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

Create an evaluation exception for this error type.

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

Create an evaluation 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: