[Java] Class ClosureException
- groovy.lang.ClosureException
An exception thrown by a closure invocation
- Authors:
- James Strachan
Constructor Summary
Constructor and description |
---|
ClosureException
(Closure closure, Throwable cause) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
Closure |
getClosure() |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class RuntimeException | printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, addSuppressed, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
class Exception | printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, addSuppressed, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Constructor Detail
public ClosureException(Closure closure, Throwable cause)
Method Detail
public Closure getClosure()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/groovy/lang/ClosureException.html