Base exception indicating a syntax error.
Type | Name and description |
---|---|
String |
sourceLocator |
Constructor and description |
---|
SyntaxException
(String message, ASTNode node) |
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) |
Type Params | Return Type | Name and description |
---|---|---|
|
int |
getEndColumn() @return the end column on which the error occurs |
|
int |
getEndLine() @return the end line on which the error occurs |
|
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() @return the line on which the error occurs |
|
void |
setSourceLocator(String sourceLocator) |
Methods inherited from class | Name |
---|---|
class GroovyException |
isFatal, setFatal |
Retrieve the line upon which the error occurred.
Retrieve the column upon which the error occurred.
Copyright © 2003-2021 The Apache Software Foundation. All rights reserved.