VerificationException

Signals that a task has failed in a manner which does not prevent consumers of that task's output from running. A task can depend upon another task's outcome (PASS vs. FAIL), outputs (the files they produce) or both. A verification failure represents the case where a task has a failed outcome, but has still produced valid output files for consumption. Tasks that only depend on the other task's outputs are allowed to execute. Tasks that depend on both the outcome and output cannot execute. These failures should be caused by user code under analysis (such as from running tests, code quality checks, or linting errors). A failed test, for instance, will cause a failing outcome for the test task, but this does not prevent another task from reading and processing the (valid) test results output it produced (perhaps to aggregate multiple test reports). Verification failures do not represent a bug in either the build tool or custom task logic; the responsibility falls to the project's software engineer to correct the verification failure.

Since

7.4

Constructors

Link copied to clipboard
constructor(message: String)
constructor(message: String, cause: Throwable)
Allows a cause to be specified.

Properties

Link copied to clipboard
open val cause: Throwable
Link copied to clipboard

Functions

Link copied to clipboard
fun addSuppressed(exception: Throwable)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getMessage(): String
Link copied to clipboard
Link copied to clipboard
open fun initCause(cause: Throwable): Throwable
Link copied to clipboard
open fun printStackTrace()
Link copied to clipboard
open fun toString(): String