Class TokenMismatchException

java.lang.Object
java.lang.Throwable
All Implemented Interfaces:
java.io.Serializable, GroovyExceptionInterface

public class TokenMismatchException
extends TokenException
See Also:
Serialized Form
  • Constructor Details

    • TokenMismatchException

      public TokenMismatchException​(Token token, int expectedType)
  • Method Details

    • getUnexpectedToken

      public Token getUnexpectedToken()
    • getExpectedType

      public int getExpectedType()