TokenException (groovy 2.4.10 API)
Date: 2017-03-14

Package: org.codehaus.groovy.syntax

## [Java] Class TokenException

- org.codehaus.groovy.syntax.TokenException

- - ### Constructor Summary

    Constructors
    Constructor and description
    `TokenException (String message, Token token)`
    `TokenException (String message, Throwable cause, int line, int column)`
    `TokenException (String message, Throwable cause, int line, int column, int endLine, int endColumn)`

  - ### Inherited Methods Summary

    Inherited Methods
    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 TokenException(String message, Token token)

    - #### public TokenException(String message, Throwable cause, int line, int column)

    - #### public TokenException(String message, Throwable cause, int line, int column, int endLine, int endColumn)