Groovy 2.2.1

org.codehaus.groovy.syntax
[Java] Class TokenMismatchException

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.TokenMismatchException

public class TokenMismatchException
extends TokenException

Constructor Summary
TokenMismatchException(Token token, int expectedType)

 
Method Summary
int getExpectedType()

Token getUnexpectedToken()

 
Methods inherited from class SyntaxException
getEndColumn, getEndLine, 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, setStackTrace, getMessage, getLocalizedMessage, getStackTrace, addSuppressed, getSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll
 

Constructor Detail

TokenMismatchException

public TokenMismatchException(Token token, int expectedType)


 
Method Detail

getExpectedType

public int getExpectedType()


getUnexpectedToken

public Token getUnexpectedToken()


 

Copyright © 2003-2013 The Codehaus. All rights reserved.