org.antlr.runtime
Class MismatchedTokenException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.antlr.runtime.RecognitionException
              extended by org.antlr.runtime.MismatchedTokenException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
MissingTokenException, UnwantedTokenException

public class MismatchedTokenException
extends RecognitionException

A mismatched char or Token or tree node

See Also:
Serialized Form

Field Summary
 int expecting
           
 
Fields inherited from class org.antlr.runtime.RecognitionException
approximateLineInfo, c, charPositionInLine, index, input, line, node, token
 
Constructor Summary
MismatchedTokenException()
          Used for remote debugger deserialization
MismatchedTokenException(int expecting, IntStream input)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class org.antlr.runtime.RecognitionException
extractInformationFromTreeNodeStream, getUnexpectedType
 
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

expecting

public int expecting
Constructor Detail

MismatchedTokenException

public MismatchedTokenException()
Used for remote debugger deserialization


MismatchedTokenException

public MismatchedTokenException(int expecting,
                                IntStream input)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable


Copyright © 2013. All Rights Reserved.