public class TokenMismatchException extends TokenException
Constructor and Description |
---|
TokenMismatchException(Token token,
int expectedType) |
Modifier and Type | Method and Description |
---|---|
int |
getExpectedType() |
Token |
getUnexpectedToken() |
getEndColumn, getEndLine, getLine, getMessage, getOriginalMessage, getSourceLocator, getStartColumn, getStartLine, setSourceLocator
isFatal, setFatal
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString