at.dms.compiler.tools.antlr.runtime
Class RecognitionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by at.dms.compiler.tools.antlr.runtime.ANTLRException
              extended by at.dms.compiler.tools.antlr.runtime.ParserException
                  extended by 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

Field Summary
 int column
           
 String fileName
           
 int line
           
 
Constructor Summary
RecognitionException()
           
RecognitionException(String s)
          RecognitionException constructor comment.
RecognitionException(String s, String fileName, int line)
          RecognitionException constructor comment.
 
Method Summary
 int getColumn()
           
 String getErrorMessage()
          Deprecated. As of ANTLR 2.7.0
 String getFilename()
           
 int getLine()
           
 String toString()
           
 
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
 

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)
RecognitionException constructor comment.

Parameters:
s - java.lang.String
Method Detail

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