public class SyntaxException extends GroovyException
Constructor and Description |
---|
SyntaxException(java.lang.String message,
int line,
int column) |
SyntaxException(java.lang.String message,
java.lang.Throwable cause,
int line,
int column) |
Modifier and Type | Method and Description |
---|---|
int |
getEndColumn() |
int |
getLine()
Retrieve the line upon which the error occurred.
|
java.lang.String |
getMessage() |
java.lang.String |
getOriginalMessage() |
java.lang.String |
getSourceLocator() |
int |
getStartColumn()
Retrieve the column upon which the error occurred.
|
int |
getStartLine() |
void |
setSourceLocator(java.lang.String sourceLocator) |
isFatal, setFatal
public SyntaxException(java.lang.String message, int line, int column)
public SyntaxException(java.lang.String message, java.lang.Throwable cause, int line, int column)
public void setSourceLocator(java.lang.String sourceLocator)
public java.lang.String getSourceLocator()
public int getLine()
public int getStartColumn()
public int getStartLine()
public int getEndColumn()
public java.lang.String getOriginalMessage()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable