antlr
Class TokenStreamRecognitionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byantlr.ANTLRException
              extended byantlr.TokenStreamException
                  extended byantlr.TokenStreamRecognitionException
All Implemented Interfaces:
java.io.Serializable

public class TokenStreamRecognitionException
extends TokenStreamException

Wraps a RecognitionException in a TokenStreamException so you can pass it along.

See Also:
Serialized Form

Field Summary
 RecognitionException recog
           
 
Constructor Summary
TokenStreamRecognitionException(RecognitionException re)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

recog

public RecognitionException recog
Constructor Detail

TokenStreamRecognitionException

public TokenStreamRecognitionException(RecognitionException re)
Method Detail

toString

public java.lang.String toString()