Package antlr
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
public class RecognitionException extends ANTLRException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RecognitionException()
RecognitionException(String s)
RecognitionException constructor comment.RecognitionException(String s, String fileName_, int line_)
Deprecated.As of ANTLR 2.7.2 use {@see #RecognitionException(char, String, int, int) }RecognitionException(String s, String fileName_, int line_, int column_)
RecognitionException constructor comment.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getColumn()
String
getErrorMessage()
Deprecated.As of ANTLR 2.7.0String
getFilename()
int
getLine()
String
toString()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Field Detail
-
fileName
public String fileName
-
line
public int line
-
column
public int column
-
-
Constructor Detail
-
RecognitionException
public RecognitionException()
-
RecognitionException
public RecognitionException(String s)
RecognitionException constructor comment.- Parameters:
s
- java.lang.String
-
RecognitionException
public RecognitionException(String s, String fileName_, int line_)
Deprecated.As of ANTLR 2.7.2 use {@see #RecognitionException(char, String, int, int) }
-
-