public class SyntaxException extends GroovyException
Constructor and Description |
---|
SyntaxException(java.lang.String message,
int startLine,
int startColumn) |
SyntaxException(java.lang.String message,
int startLine,
int startColumn,
int endLine,
int endColumn) |
SyntaxException(java.lang.String message,
java.lang.Throwable cause,
int startLine,
int startColumn) |
SyntaxException(java.lang.String message,
java.lang.Throwable cause,
int startLine,
int startColumn,
int endLine,
int endColumn) |
Modifier and Type | Method and Description |
---|---|
int |
getEndColumn() |
int |
getEndLine() |
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 startLine, int startColumn)
public SyntaxException(java.lang.String message, int startLine, int startColumn, int endLine, int endColumn)
public SyntaxException(java.lang.String message, java.lang.Throwable cause, int startLine, int startColumn)
public SyntaxException(java.lang.String message, java.lang.Throwable cause, int startLine, int startColumn, int endLine, int endColumn)
public void setSourceLocator(java.lang.String sourceLocator)
public java.lang.String getSourceLocator()
public int getLine()
public int getStartLine()
public int getStartColumn()
public int getEndLine()
public int getEndColumn()
public java.lang.String getOriginalMessage()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable