StopExecutionException

open class StopExecutionException : RuntimeException

A StopExecutionException is thrown by a org.gradle.api.Action or task action closure to stop execution of the current task and start execution of the next task. This allows, for example, precondition actions to be added to a task which abort execution of the task if the preconditions are not met.

Note that throwing this exception does not fail the execution of the task or the build.

Constructors

Link copied to clipboard
constructor()
constructor(message: String)

Properties

Link copied to clipboard
open val cause: Throwable
Link copied to clipboard
open var stackTrace: Array<StackTraceElement>

Functions

Link copied to clipboard
fun addSuppressed(p: Throwable)
Link copied to clipboard
open fun fillInStackTrace(): Throwable
Link copied to clipboard
open fun getLocalizedMessage(): String
Link copied to clipboard
open fun getMessage(): String
Link copied to clipboard
fun getSuppressed(): Array<Throwable>
Link copied to clipboard
open fun initCause(p: Throwable): Throwable
Link copied to clipboard
open fun printStackTrace()
Link copied to clipboard
open fun toString(): String