Class TaskExecutionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.gradle.api.GradleException
org.gradle.internal.exceptions.DefaultMultiCauseException
org.gradle.api.tasks.TaskExecutionException
All Implemented Interfaces:
Serializable, org.gradle.internal.exceptions.MultiCauseException, org.gradle.internal.exceptions.NonGradleCauseExceptionsHolder, org.gradle.internal.exceptions.ResolutionProvider

public class TaskExecutionException extends org.gradle.internal.exceptions.DefaultMultiCauseException

A TaskExecutionException is thrown when a task fails to execute successfully.

See Also:
  • Constructor Details

    • TaskExecutionException

      public TaskExecutionException(Task task, Throwable cause)
  • Method Details

    • getTask

      public Task getTask()