Class InvalidActionClosureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.gradle.api.GradleException
org.gradle.api.InvalidActionClosureException
- All Implemented Interfaces:
Serializable, org.gradle.internal.exceptions.ResolutionProvider
- Since:
- 1.3
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidActionClosureException(Closure<?> closure, Object argument) Creates a newInvalidActionClosureException. -
Method Summary
Modifier and TypeMethodDescriptionThe argument the action was executed with.Closure<?> The closure being used as an action.Methods inherited from class GradleException
addResolution, clearResolutions, getResolutionsMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidActionClosureException
-
-
Method Details
-
getClosure
The closure being used as an action.- Returns:
- The closure being used as an action.
- Since:
- 1.3
-
getArgument
The argument the action was executed with.- Returns:
- The argument the action was executed with.
- Since:
- 1.3
-