LPEX
3.6.6

com.ibm.lpex.cc
Class TokenMgrError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by 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

Constructor Summary
TokenMgrError()
           
TokenMgrError(boolean EOFSeen, int lexState, int errorLine, int errorColumn, String errorAfter, char curChar, int reason)
           
TokenMgrError(String message, int reason)
           
 
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.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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

LPEX
3.6.6

Copyright © 2012 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.