groovy.lang
Class GroovyRuntimeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bygroovy.lang.GroovyRuntimeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
IncorrectClosureArgumentsException, InvokerInvocationException, MissingClassException, MissingMethodException, MissingPropertyException, RuntimeParserException

public class GroovyRuntimeException
extends java.lang.RuntimeException

An exception thrown by the interpreter

Version:
$Revision: 1.1 $
Author:
James Strachan
See Also:
Serialized Form

Constructor Summary
GroovyRuntimeException(java.lang.String message)
           
GroovyRuntimeException(java.lang.String message, ASTNode node)
           
GroovyRuntimeException(java.lang.String message, java.lang.Throwable cause)
           
 
Method Summary
protected  java.lang.String getLocationText()
           
 java.lang.String getMessage()
           
 ModuleNode getModule()
           
 ASTNode getNode()
           
 void setModule(ModuleNode module)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

GroovyRuntimeException

public GroovyRuntimeException(java.lang.String message)

GroovyRuntimeException

public GroovyRuntimeException(java.lang.String message,
                              ASTNode node)

GroovyRuntimeException

public GroovyRuntimeException(java.lang.String message,
                              java.lang.Throwable cause)
Method Detail

setModule

public void setModule(ModuleNode module)

getModule

public ModuleNode getModule()

getMessage

public java.lang.String getMessage()

getNode

public ASTNode getNode()

getLocationText

protected java.lang.String getLocationText()


Copyright © 2003-2004 The Codehaus. All Rights Reserved.