Thrown when a groovy.lang.Closure is given as an Action implementation, but has the wrong signature.
| Constructor and description |
|---|
InvalidActionClosureException
(groovy.lang.Closure<?> closure, Object argument) |
| Type | Name and description |
|---|---|
Object |
getArgument()The argument the action was executed with. |
groovy.lang.Closure<?> |
getClosure()The closure being used as an action. |
| Methods inherited from class | Name |
|---|---|
class RuntimeException |
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, addSuppressed, getSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
The argument the action was executed with.
The closure being used as an action.