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:
BitwiseNegateEvaluatingException, IncorrectClosureArgumentsException, InvokerInvocationException, MissingClassException, MissingFieldException, 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

Field Summary
private  ModuleNode module
           
private  ASTNode node
           
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
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
 

Field Detail

module

private ModuleNode module

node

private ASTNode node
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-2005 The Codehaus. All Rights Reserved.