# TaskExecutionException

open class TaskExecutionException : DefaultMultiCauseException(source)

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

## Constructors

TaskExecutionException
Link copied to clipboard
constructor(task: Task, cause: Throwable)

## Properties

cause
Link copied to clipboard
open val cause: Throwable
message
Link copied to clipboard
open val message: String
stackTrace
Link copied to clipboard
open var stackTrace: Array<StackTraceElement>
task
Link copied to clipboard
val task: Task

## Functions

addSuppressed
Link copied to clipboard
fun addSuppressed(p: Throwable)
fillInStackTrace
Link copied to clipboard
open fun fillInStackTrace(): Throwable
getCauses
Link copied to clipboard
open fun getCauses(): List<out Throwable>
getLocalizedMessage
Link copied to clipboard
open fun getLocalizedMessage(): String
getResolutions
Link copied to clipboard
open fun getResolutions(): List<String>
getSuppressed
Link copied to clipboard
fun getSuppressed(): Array<Throwable>
hasCause
Link copied to clipboard
open fun hasCause(type: Class<out Any>): Boolean
initCause
Link copied to clipboard
open fun initCause(throwable: Throwable): Throwable
initCauses
Link copied to clipboard
open fun initCauses(causes: Iterable<out Throwable>)
printStackTrace
Link copied to clipboard
open fun printStackTrace(printStream: PrintStream)
toString
Link copied to clipboard
open fun toString(): String