Class RecognitionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
antlr.ANTLRException
antlr.RecognitionException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MismatchedCharException, MismatchedTokenException, NoViableAltException, NoViableAltForCharException, SemanticException
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRecognitionException constructor comment.RecognitionException
(String s, String fileName_, int line_) Deprecated.As of ANTLR 2.7.2 useRecognitionException
(String s, String fileName_, int line_, int column_) RecognitionException constructor comment. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
fileName
-
line
public int line -
column
public int column
-
-
Constructor Details
-
RecognitionException
public RecognitionException() -
RecognitionException
RecognitionException constructor comment.- Parameters:
s
- java.lang.String
-
RecognitionException
-
RecognitionException
-
-
Method Details
-
getFilename
-
getLine
public int getLine() -
getColumn
public int getColumn() -
getErrorMessage
Deprecated.As of ANTLR 2.7.0 -
toString
-