antlr
Class NoViableAltException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--antlr.ANTLRException
                    |
                    +--antlr.RecognitionException
                          |
                          +--antlr.NoViableAltException
All Implemented Interfaces:
Serializable

public class NoViableAltException
extends RecognitionException

Untamed:

See Also:
Serialized Form

Field Summary
 AST node
          Enabled:
 Token token
          Enabled:
 
Fields inherited from class antlr.RecognitionException
column, fileName, line
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
NoViableAltException(AST t)
          Enabled:
NoViableAltException(Token t, String fileName)
          Enabled:
 
Method Summary
 String getErrorMessage()
          Enabled: @deprecated As of ANTLR 2.7.0
 String getMessage()
          Enabled: Returns a clean error message (no line number/column information)
 String toString()
          Suppressed: Returns a string representation of this exception.
 
Methods inherited from class antlr.RecognitionException
getColumn, getFilename, getLine
 
Methods inherited from class java.lang.Throwable
backtrace, eStack, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, javaStack, leaf, printStackTrace, printStackTrace, printStackTrace, printThrowableOn, setStackTrace, unwrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

token

public Token token
Enabled:


node

public AST node
Enabled:

Constructor Detail

NoViableAltException

public NoViableAltException(AST t)
Enabled:


NoViableAltException

public NoViableAltException(Token t,
                            String fileName)
Enabled:

Method Detail

getErrorMessage

public String getErrorMessage()
Enabled: @deprecated As of ANTLR 2.7.0

Overrides:
getErrorMessage in class RecognitionException

getMessage

public String getMessage()
Enabled: Returns a clean error message (no line number/column information)

Overrides:
getMessage in class Throwable
Returns:
the detail message string of this Throwable instance (which may be null).

toString

public String toString()
Suppressed: Returns a string representation of this exception.

Overrides:
toString in class RecognitionException
Returns:
a string representation of this throwable.


comments?