Package groovy.lang

Class ClosureException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ClosureException
    extends java.lang.RuntimeException
    An exception thrown by a closure invocation
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ClosureException​(Closure closure, java.lang.Throwable cause)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Closure getClosure()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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,
                                java.lang.Throwable cause)
    • Method Detail

      • getClosure

        public Closure getClosure()