org.codehaus.groovy.syntax.parser
Class UnexpectedTokenException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.codehaus.groovy.GroovyException
org.codehaus.groovy.syntax.SyntaxException
org.codehaus.groovy.syntax.TokenException
org.codehaus.groovy.syntax.parser.ParserException
org.codehaus.groovy.syntax.parser.UnexpectedTokenException
- All Implemented Interfaces:
- GroovyExceptionInterface, Serializable
- public class UnexpectedTokenException
- extends ParserException
- See Also:
- Serialized Form
UnexpectedTokenException
public UnexpectedTokenException(Token token)
UnexpectedTokenException
public UnexpectedTokenException(Token token,
int expectedType)
UnexpectedTokenException
public UnexpectedTokenException(Token token,
int[] expectedTypes)
UnexpectedTokenException
public UnexpectedTokenException(Token token,
int[] expectedTypes,
String comment)
getUnexpectedToken
public Token getUnexpectedToken()
getExpectedTypes
public int[] getExpectedTypes()
getUnexpectedTokenText
public String getUnexpectedTokenText()
getMessage
public String getMessage()
Copyright © 2003-2004 The Codehaus. All Rights Reserved.