Serializable
, GroovyExceptionInterface
IncorrectTypeHintException
, TokenException
public class SyntaxException extends GroovyException
Constructor | Description |
---|---|
SyntaxException(String message,
int startLine,
int startColumn) |
|
SyntaxException(String message,
int startLine,
int startColumn,
int endLine,
int endColumn) |
|
SyntaxException(String message,
Throwable cause,
int startLine,
int startColumn) |
|
SyntaxException(String message,
Throwable cause,
int startLine,
int startColumn,
int endLine,
int endColumn) |
Modifier and Type | Method | Description |
---|---|---|
int |
getEndColumn() |
|
int |
getEndLine() |
|
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SyntaxException(String message, int startLine, int startColumn)
public SyntaxException(String message, int startLine, int startColumn, int endLine, int endColumn)
public SyntaxException(String message, Throwable cause, int startLine, int startColumn)
public void setSourceLocator(String sourceLocator)
public String getSourceLocator()
public int getLine()
public int getStartLine()
public int getStartColumn()
public int getEndLine()
public int getEndColumn()
public String getOriginalMessage()
public String getMessage()
getMessage
in class Throwable