antlr
Class RecognitionException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--antlr.ANTLRException
|
+--antlr.RecognitionException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- MismatchedCharException, MismatchedTokenException, NoViableAltException, NoViableAltForCharException, SemanticException
- public class RecognitionException
- extends ANTLRException
- See Also:
- Serialized Form
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
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 |
fileName
public java.lang.String fileName
line
public int line
column
public int column
tokenName
public java.lang.String tokenName
RecognitionException
public RecognitionException()
RecognitionException
public RecognitionException(java.lang.String s)
- RecognitionException constructor comment.
- Parameters:
s
- java.lang.String
RecognitionException
public RecognitionException(java.lang.String s,
java.lang.String fileName,
int line)
- RecognitionException constructor comment.
- Parameters:
s
- java.lang.String
getColumn
public int getColumn()
getErrorMessage
public java.lang.String getErrorMessage()
- Deprecated. As of ANTLR 2.7.0
getFilename
public java.lang.String getFilename()
getLine
public int getLine()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable