public class TokenMismatchException extends TokenException
Constructor and description |
---|
TokenMismatchException
(Token token, int expectedType) |
Type Params | Return Type | Name and description |
---|---|---|
|
public int |
getExpectedType() |
|
public Token |
getUnexpectedToken() |
Methods inherited from class | Name |
---|---|
class SyntaxException |
getEndColumn, getEndLine, getLine, getMessage, getOriginalMessage, getSourceLocator, getStartColumn, getStartLine, setSourceLocator |
class GroovyException |
isFatal, setFatal |
Copyright © 2003-2021 The Apache Software Foundation. All rights reserved.