Package 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
Fields Modifier and Type Field Description RecognitionException
recog
-
Constructor Summary
Constructors Constructor Description TokenStreamRecognitionException(RecognitionException re)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Field Detail
-
recog
public RecognitionException recog
-
-
Constructor Detail
-
TokenStreamRecognitionException
public TokenStreamRecognitionException(RecognitionException re)
-
-