at.dms.compiler.tools.antlr.runtime
Class RecognitionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
at.dms.compiler.tools.antlr.runtime.ANTLRException
at.dms.compiler.tools.antlr.runtime.ParserException
at.dms.compiler.tools.antlr.runtime.RecognitionException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- MismatchedCharException, MismatchedTokenException, NoViableAltException, NoViableAltForCharException, SemanticException
public class RecognitionException
- extends ParserException
- See Also:
- Serialized Form
fileName
public String fileName
line
public int line
column
public int column
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)
- RecognitionException constructor comment.
- Parameters:
s
- java.lang.String
getColumn
public int getColumn()
- Overrides:
getColumn
in class ParserException
- Returns:
- the column number that this exception happened on.
getErrorMessage
public String getErrorMessage()
- Deprecated. As of ANTLR 2.7.0
getFilename
public String getFilename()
- Overrides:
getFilename
in class ParserException
getLine
public int getLine()
- Overrides:
getLine
in class ParserException
- Returns:
- the line number that this exception happened on.
toString
public String toString()
- Overrides:
toString
in class Throwable