Top Fields Constructors Methods
org.codehaus.groovy.syntax

public Class TokenException

extends SyntaxException
Class Inheritance
Known Direct Subclasses
org.codehaus.groovy.syntax.TokenMismatchException, org.codehaus.groovy.syntax.ParserException

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
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)

Method Summary

Modifier and TypeMethod and Description
private static int
private static int
getLine(Token token)

Inherited from org.codehaus.groovy.syntax.SyntaxException:
getEndColumngetEndLinegetLinegetMessagegetOriginalMessagegetSourceLocatorgetStartColumngetStartLinesetSourceLocator

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.codehaus.groovy.syntax.SyntaxException.serialVersionUID.

Constructor Detail

TokenExceptionback to summary
public TokenException(String message, Token token)
TokenExceptionback to summary
public TokenException(String message, Throwable cause, int line, int column)
TokenExceptionback to summary
public TokenException(String message, Throwable cause, int line, int column, int endLine, int endColumn)

Method Detail

getColumnback to summary
private static int getColumn(Token token)
getLineback to summary
private static int getLine(Token token)