Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.api.tasks
Class TaskExecutionException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              java.lang.RuntimeException
                  org.gradle.api.GradleException
                      org.gradle.api.tasks.TaskExecutionException

All Implemented Interfaces:
  Serializable

    public class TaskExecutionException

extends GradleException

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

See Also:
  Serialized Form

Constructor Summary
`TaskExecutionException(TaskExecutionException source)`
`TaskExecutionException(Task task, Throwable cause)`

Method Summary
`Task` | `getTask()`

Methods inherited from class java.lang.Throwable
`fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### TaskExecutionException

    public TaskExecutionException(TaskExecutionException source)

### TaskExecutionException

    public TaskExecutionException(Task task,
                                  Throwable cause)

Method Detail

### getTask

    public Task getTask()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD