Groovy Documentation

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.


Constructor Summary
TaskExecutionException(Task task, Throwable cause)

 
Method Summary
Task getTask()

 
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
 

Constructor Detail

TaskExecutionException

public TaskExecutionException(Task task, Throwable cause)


 
Method Detail

getTask

public Task getTask()


 

Gradle API 1.12