Thrown when a Closure is given as an Action implementation, but has the wrong signature.
Constructor and description |
---|
InvalidActionClosureException
(Closure<?> closure, Object argument) |
Type | Name and description |
---|---|
Object |
getArgument() The argument the action was executed with. |
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 |