org.codehaus.groovy.syntax
public class SyntaxException extends GroovyException
Constructor and Description |
---|
SyntaxException(String message,
int line,
int column) |
SyntaxException(String message,
Throwable cause,
int line,
int column) |
Modifier and Type | Method and Description |
---|---|
int |
getEndColumn() |
int |
getLine()
Retrieve the line upon which the error occurred.
|
String |
getMessage() |
String |
getOriginalMessage() |
String |
getSourceLocator() |
int |
getStartColumn()
Retrieve the column upon which the error occurred.
|
int |
getStartLine() |
void |
setSourceLocator(String sourceLocator) |
isFatal, setFatal
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SyntaxException(String message, int line, int column)
public void setSourceLocator(String sourceLocator)
public String getSourceLocator()
public int getLine()
public int getStartColumn()
public int getStartLine()
public int getEndColumn()
public String getOriginalMessage()
public String getMessage()
getMessage
in class Throwable