antlr
Class RecognitionException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--antlr.ANTLRException
                    |
                    +--antlr.RecognitionException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MismatchedCharException, MismatchedTokenException, NoViableAltException, NoViableAltForCharException, SemanticException, XPAException

public class RecognitionException
extends ANTLRException

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


RecognitionException

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

Parameters:
s - java.lang.String
Method Detail

getFilename

public String getFilename()

getLine

public int getLine()

getColumn

public int getColumn()

getErrorMessage

public String getErrorMessage()
Deprecated. As of ANTLR 2.7.0


toString

public String toString()
Overrides:
toString in class Throwable


Copyright 1999-2003 Oliver Zeigermann. All Rights Reserved.