org.codehaus.groovy.syntax
Class SyntaxException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.codehaus.groovy.GroovyException
                    |
                    +--org.codehaus.groovy.syntax.SyntaxException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
LexerException, ParserException, SemanticException, TokenMismatchException

public class SyntaxException
extends GroovyException

Base exception indicating a syntax error.

Version:
$Id: SyntaxException.java,v 1.6 2003/10/28 14:36:46 jstrachan Exp $
Author:
bob mcwhirter
See Also:
Serialized Form

Constructor Summary
SyntaxException()
           
SyntaxException(String message)
           
 
Method Summary
 String getSourceLocator()
           
 void setSourceLocator(String sourceLocator)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SyntaxException

public SyntaxException()

SyntaxException

public SyntaxException(String message)
Method Detail

setSourceLocator

public void setSourceLocator(String sourceLocator)

getSourceLocator

public String getSourceLocator()


Copyright © 2003 The Codehaus. All Rights Reserved.