Package org.gradle.api
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:
java.io.Serializable
public class InvalidActionClosureException extends GradleException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidActionClosureException(Closure<?> closure, java.lang.Object argument)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getArgument()
The argument the action was executed with.Closure<?>
getClosure()
The closure being used as an action.
-
-
-
Constructor Detail
-
InvalidActionClosureException
public InvalidActionClosureException(Closure<?> closure, java.lang.Object argument)
-
-
Method Detail
-
getClosure
public Closure<?> getClosure()
The closure being used as an action.- Returns:
- The closure being used as an action.
-
getArgument
public java.lang.Object getArgument()
The argument the action was executed with.- Returns:
- The argument the action was executed with.
-
-