at.dms.compiler.antlr.runtime
Class NoViableAltException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by at.dms.compiler.antlr.runtime.ANTLRException
              extended by at.dms.compiler.antlr.runtime.ParserException
                  extended by at.dms.compiler.antlr.runtime.RecognitionException
                      extended by at.dms.compiler.antlr.runtime.NoViableAltException
All Implemented Interfaces:
Serializable

public class NoViableAltException
extends RecognitionException

See Also:
Serialized Form

Field Summary
 Token token
           
 
Fields inherited from class at.dms.compiler.antlr.runtime.RecognitionException
column, fileName, line
 
Constructor Summary
NoViableAltException(Token t, String fileName)
           
 
Method Summary
 String getMessage()
          Returns a clean error message (no line number/column information)
 String toString()
          Returns a string representation of this exception.
 
Methods inherited from class at.dms.compiler.antlr.runtime.RecognitionException
getColumn, getErrorMessage, getFilename, getLine
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

token

public Token token
Constructor Detail

NoViableAltException

public NoViableAltException(Token t,
                            String fileName)
Method Detail

getMessage

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

Overrides:
getMessage in class Throwable

toString

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

Overrides:
toString in class RecognitionException