|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Error
org.pentaho.reporting.libraries.formula.parser.TokenMgrError
public class TokenMgrError
Although this class was autogenerated, we modified it to provide better error reporting. Do not delete this file or let the auto-generator replace it, or you will suffer compile errors later.
| Field Summary | |
|---|---|
static int |
INVALID_LEXICAL_STATE
Tried to change to an invalid lexical state. |
static int |
LEXICAL_ERROR
Lexical error occured. |
static int |
LOOP_DETECTED
Detected (and bailed out of) an infinite loop in the token manager. |
static int |
STATIC_LEXER_ERROR
An attempt wass made to create a second instance of a static token manager. |
| Constructor Summary | |
|---|---|
TokenMgrError()
|
|
TokenMgrError(boolean EOFSeen,
int lexState,
int errorLine,
int errorColumn,
java.lang.String errorAfter,
char curChar,
int reason)
|
|
TokenMgrError(java.lang.String message,
int reason)
|
|
| Method Summary | |
|---|---|
char |
getCurChar()
|
java.lang.String |
getErrorAfter()
|
int |
getErrorCode()
|
int |
getErrorColumn()
|
int |
getErrorLine()
|
int |
getLexState()
|
java.lang.String |
getMessage()
You can also modify the body of this method to customize your error messages. |
int |
getReason()
|
boolean |
isEOFSeen()
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int LEXICAL_ERROR
public static final int STATIC_LEXER_ERROR
public static final int INVALID_LEXICAL_STATE
public static final int LOOP_DETECTED
| Constructor Detail |
|---|
public TokenMgrError()
public TokenMgrError(java.lang.String message,
int reason)
public TokenMgrError(boolean EOFSeen,
int lexState,
int errorLine,
int errorColumn,
java.lang.String errorAfter,
char curChar,
int reason)
| Method Detail |
|---|
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic int getErrorCode()
public boolean isEOFSeen()
public int getLexState()
public int getErrorLine()
public int getErrorColumn()
public java.lang.String getErrorAfter()
public char getCurChar()
public int getReason()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||