Package jmri.jmris.simpleserver.parser
Class TokenMgrError
java.lang.Object
java.lang.Throwable
java.lang.Error
jmri.jmris.simpleserver.parser.TokenMgrError
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionTokenMgrError(boolean EOFSeen, int lexState, int errorLine, int errorColumn, String errorAfter, int curChar, int reason) TokenMgrError(String message, int reason) -
Method Summary
Modifier and TypeMethodDescriptionprotected static final StringaddEscapes(String str) protected static StringLexicalErr(boolean EOFSeen, int lexState, int errorLine, int errorColumn, String errorAfter, int curChar) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
LEXICAL_ERROR
- See Also:
-
STATIC_LEXER_ERROR
- See Also:
-
INVALID_LEXICAL_STATE
- See Also:
-
LOOP_DETECTED
- See Also:
-
errorCode
int errorCode
-
-
Constructor Details
-
TokenMgrError
public TokenMgrError() -
TokenMgrError
-
TokenMgrError
public TokenMgrError(boolean EOFSeen, int lexState, int errorLine, int errorColumn, String errorAfter, int curChar, int reason)
-
-
Method Details
-
addEscapes
-
LexicalErr
protected static String LexicalErr(boolean EOFSeen, int lexState, int errorLine, int errorColumn, String errorAfter, int curChar) -
getMessage
- Overrides:
getMessagein classThrowable
-