Groovy 2.2.1

groovy.lang
[Java] Class ClosureException

java.lang.Object
  java.lang.Throwable
      java.lang.Exception
          java.lang.RuntimeException
              groovy.lang.ClosureException

public class ClosureException
extends RuntimeException

An exception thrown by a closure invocation

Authors:
James Strachan
Version:
\$Revision\$


Constructor Summary
ClosureException(Closure closure, Throwable cause)

 
Method Summary
Closure getClosure()

 
Methods inherited from class RuntimeException
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, setStackTrace, getMessage, getLocalizedMessage, getStackTrace, addSuppressed, getSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll
 
Methods inherited from class Exception
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, setStackTrace, getMessage, getLocalizedMessage, getStackTrace, addSuppressed, getSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll
 

Constructor Detail

ClosureException

public ClosureException(Closure closure, Throwable cause)


 
Method Detail

getClosure

public Closure getClosure()


 

Copyright © 2003-2013 The Codehaus. All rights reserved.