com.ibm.lpex.cc
Class TokenMgrError
java.lang.Object
java.lang.Throwable
java.lang.Error
com.ibm.lpex.cc.TokenMgrError
- All Implemented Interfaces:
- Serializable
public class TokenMgrError
- extends Error
Exception thrown by a generated token manager.
This exception may be thrown when attempting to retrieve
the next token from the character stream.
- See Also:
- Serialized Form
Method Summary |
protected static String |
addEscapes(String str)
Replaces unprintable characters by their escaped (or Unicode escaped)
equivalents in the given string. |
String |
getMessage()
Returns the exception message. |
TokenMgrError
public TokenMgrError()
TokenMgrError
public TokenMgrError(String message,
int reason)
TokenMgrError
public TokenMgrError(boolean EOFSeen,
int lexState,
int errorLine,
int errorColumn,
String errorAfter,
char curChar,
int reason)
addEscapes
protected static final String addEscapes(String str)
- Replaces unprintable characters by their escaped (or Unicode escaped)
equivalents in the given string.
getMessage
public String getMessage()
- Returns the exception message.
- Overrides:
getMessage
in class Throwable
Copyright © 2013 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.