Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Constructor and 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) |
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 |
class Exception |
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, addSuppressed, getSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Retrieve the line upon which the error occurred.
Retrieve the column upon which the error occurred.
Copyright © 2003-2015 The Apache Software Foundation. All rights reserved.