persistence.antlr
Class TokenStreamRecognitionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by persistence.antlr.ANTLRException
              extended by persistence.antlr.TokenStreamException
                  extended by persistence.antlr.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
clone, equals, finalize, 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()
Overrides:
toString in class java.lang.Throwable