public class SyntaxException extends GroovyException
Base exception indicating a syntax error.
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 |
---|---|---|
|
public int |
getEndColumn()
|
|
public int |
getEndLine()
|
|
public int |
getLine() Retrieve the line upon which the error occurred. |
|
public String |
getMessage() |
|
public String |
getOriginalMessage() |
|
public String |
getSourceLocator() |
|
public int |
getStartColumn() Retrieve the column upon which the error occurred. |
|
public int |
getStartLine()
|
|
public 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-2024 The Apache Software Foundation. All rights reserved.