| 
Groovy 1.8.4 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.codehaus.groovy.GroovyException
org.codehaus.groovy.syntax.SyntaxException
public class SyntaxException extends GroovyException
Base exception indicating a syntax error.
| Constructor Summary | |
            SyntaxException(String message, int line, int column)
             | 
        |
            SyntaxException(String message, Throwable cause, int line, int column)
             | 
        |
| Method Summary | |
|---|---|
            int
         | 
        
            getEndColumn()
            @return the end column 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 end of the line on which the error occurs  | 
        
            void
         | 
        
            setSourceLocator(String sourceLocator)
             | 
        
| Methods inherited from class GroovyException | |
|---|---|
| isFatal, setFatal | 
| Methods inherited from class Exception | |
|---|---|
| printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, addSuppressed, getSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll | 
| Constructor Detail | 
|---|
public SyntaxException(String message, int line, int column)
public SyntaxException(String message, Throwable cause, int line, int column)
| Method Detail | 
|---|
public int getEndColumn()
public int getLine()
public String getMessage()
public String getOriginalMessage()
public String getSourceLocator()
public int getStartColumn()
public int getStartLine()
public void setSourceLocator(String sourceLocator)
Copyright © 2003-2011 The Codehaus. All rights reserved.