public class InvalidActionClosureException extends GradleException
Closure is given as an Action implementation, but has the wrong signature.| Constructor | Description | 
|---|---|
| InvalidActionClosureException(groovy.lang.Closure<?> closure,
                             java.lang.Object argument) | 
| Modifier and Type | Method | Description | 
|---|---|---|
| java.lang.Object | getArgument() | The argument the action was executed with. | 
| groovy.lang.Closure<?> | getClosure() | The closure being used as an action. |