[Java] Class TokenMismatchException
- org.codehaus.groovy.syntax.TokenMismatchException
Constructor Summary
Constructor and description |
---|
TokenMismatchException
(Token token, int expectedType) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
int |
getExpectedType() | |
Token |
getUnexpectedToken() |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class SyntaxException | getEndColumn, getEndLine, getLine, getMessage, getOriginalMessage, getSourceLocator, getStartColumn, getStartLine, setSourceLocator |
class GroovyException | isFatal, setFatal |
class Exception | printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, addSuppressed, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Constructor Detail
public TokenMismatchException(Token token, int expectedType)
Method Detail
public int getExpectedType()
public Token getUnexpectedToken()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/syntax/TokenMismatchException.html