antlr
Class TokenStreamRecognitionException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--antlr.ANTLRException
                    |
                    +--antlr.TokenStreamException
                          |
                          +--antlr.TokenStreamRecognitionException
All Implemented Interfaces:
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
 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 String toString()
Overrides:
toString in class Throwable


Copyright 1999-2003 Oliver Zeigermann. All Rights Reserved.