public class TokenMgrError
extends
Constructor and Description |
---|
TokenMgrError()
No arg constructor.
|
TokenMgrError(boolean EOFSeen,
int lexState,
int errorLine,
int errorColumn,
errorAfter,
char curChar,
int reason)
Full Constructor.
|
message,
int reason)
Constructor with message and reason.
|
Modifier and Type | Method and Description |
---|---|
protected static |
str)
Replaces unprintable characters by their escaped (or unicode escaped)
equivalents in the given string
|
|
getMessage()
You can also modify the body of this method to customize your error messages.
|
protected static |
LexicalError(boolean EOFSeen,
int lexState,
int errorLine,
int errorColumn,
errorAfter,
char curChar)
Returns a detailed message for the Error when it is thrown by the
token manager to indicate a lexical error.
|
public TokenMgrError()
public TokenMgrError( message, int reason)
public TokenMgrError(boolean EOFSeen, int lexState, int errorLine, int errorColumn, errorAfter, char curChar, int reason)
protected static final addEscapes( str)
protected static LexicalError(boolean EOFSeen, int lexState, int errorLine, int errorColumn, errorAfter, char curChar)
public getMessage()
in class
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.