org.antlr.runtime
Class MissingTokenException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.antlr.runtime.RecognitionException
org.antlr.runtime.MismatchedTokenException
org.antlr.runtime.MissingTokenException
- All Implemented Interfaces:
- java.io.Serializable
public class MissingTokenException
- extends MismatchedTokenException
We were expecting a token but it's not found. The current token
is actually what we wanted next. Used for tree node errors too.
- See Also:
- Serialized Form
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 |
inserted
public java.lang.Object inserted
MissingTokenException
public MissingTokenException()
- Used for remote debugger deserialization
MissingTokenException
public MissingTokenException(int expecting,
IntStream input,
java.lang.Object inserted)
getMissingType
public int getMissingType()
toString
public java.lang.String toString()
- Overrides:
toString
in class MismatchedTokenException
Copyright © 2013. All Rights Reserved.