antlr
Class RecognitionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byantlr.ANTLRException
              extended byantlr.RecognitionException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
MismatchedCharException, MismatchedTokenException, NoViableAltException, NoViableAltForCharException, SemanticException

public class RecognitionException
extends ANTLRException

See Also:
Serialized Form

Field Summary
 int column
           
 java.lang.String fileName
           
 int line
           
 
Constructor Summary
RecognitionException()
           
RecognitionException(java.lang.String s)
          RecognitionException constructor comment.
RecognitionException(java.lang.String s, java.lang.String fileName_, int line_)
          Deprecated. As of ANTLR 2.7.2 use #RecognitionException(char, String, int, int)
RecognitionException(java.lang.String s, java.lang.String fileName_, int line_, int column_)
          RecognitionException constructor comment.
 
Method Summary
 int getColumn()
           
 java.lang.String getErrorMessage()
          Deprecated. As of ANTLR 2.7.0
 java.lang.String getFilename()
           
 int getLine()
           
 java.lang.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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fileName

public java.lang.String fileName

line

public int line

column

public int column
Constructor Detail

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_)
Deprecated. As of ANTLR 2.7.2 use #RecognitionException(char, String, int, int)


RecognitionException

public RecognitionException(java.lang.String s,
                            java.lang.String fileName_,
                            int line_,
                            int column_)
RecognitionException constructor comment.

Parameters:
s - java.lang.String
Method Detail

getFilename

public java.lang.String getFilename()

getLine

public int getLine()

getColumn

public int getColumn()

getErrorMessage

public java.lang.String getErrorMessage()
Deprecated. As of ANTLR 2.7.0


toString

public java.lang.String toString()