groovy.lang
Class ClosureException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bygroovy.lang.ClosureException
All Implemented Interfaces:
java.io.Serializable

public class ClosureException
extends java.lang.RuntimeException

An exception thrown by a closure invocation

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

Field Summary
private  Closure closure
           
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
ClosureException(Closure closure, java.lang.Throwable cause)
           
 
Method Summary
 Closure getClosure()
           
 
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
 

Field Detail

closure

private Closure closure
Constructor Detail

ClosureException

public ClosureException(Closure closure,
                        java.lang.Throwable cause)
Method Detail

getClosure

public Closure getClosure()


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