|
Groovy 1.7.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.codehaus.groovy.GroovyException
org.codehaus.groovy.syntax.SyntaxException
org.codehaus.groovy.syntax.TokenException
org.codehaus.groovy.syntax.TokenMismatchException
class TokenMismatchException extends TokenException
Constructor Summary | |
TokenMismatchException(Token token, int expectedType)
|
Method Summary | |
---|---|
int
|
getExpectedType()
|
Token
|
getUnexpectedToken()
|
Methods inherited from class TokenException | |
---|---|
getEndColumn |
Methods inherited from class SyntaxException | |
---|---|
getEndColumn, getLine, getMessage, getOriginalMessage, getSourceLocator, getStartColumn, getStartLine, setSourceLocator |
Methods inherited from class GroovyException | |
---|---|
isFatal, setFatal |
Methods inherited from class Exception | |
---|---|
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, hashCode, getClass, equals, notify, notifyAll |
Methods inherited from class Throwable | |
---|---|
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, hashCode, getClass, equals, notify, notifyAll |
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Constructor Detail |
---|
public TokenMismatchException(Token token, int expectedType)
Method Detail |
---|
public int getExpectedType()
public Token getUnexpectedToken()
Copyright © 2003-2009 The Codehaus. All rights reserved.