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:
Serializable

public class ClosureException
extends RuntimeException

An exception thrown by a closure invocation

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

Constructor Summary
ClosureException(Closure closure, 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
 

Constructor Detail

ClosureException

public ClosureException(Closure closure,
                        Throwable cause)
Method Detail

getClosure

public Closure getClosure()


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