org.gradle.api.tasks
[Java] Class TaskExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.gradle.api.GradleException
org.gradle.api.tasks.TaskExecutionException
@Contextual
public class TaskExecutionException
extends GradleException
A TaskExecutionException is thrown when a task fails to execute successfully.
Methods inherited from class RuntimeException
|
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, addSuppressed, getSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
TaskExecutionException
public TaskExecutionException(Task task, Throwable cause)
-
getTask
public Task getTask()
-
Gradle API 1.12