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

Field Summary
 int column
           
 java.lang.String fileName
           
 int line
           
 java.lang.String tokenName
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
RecognitionException()
           
RecognitionException(java.lang.String s)
          RecognitionException constructor comment.
RecognitionException(java.lang.String s, java.lang.String fileName, int line)
          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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fileName

public java.lang.String fileName

line

public int line

column

public int column

tokenName

public java.lang.String tokenName
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)
RecognitionException constructor comment.

Parameters:
s - java.lang.String
Method Detail

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