For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

ProcessExecutionException

@NullMarked
open class ProcessExecutionException : ExecException(source)

An exception thrown when an error occurs while executing a process.

Since

9.0.0

Constructors

Link copied to clipboard
constructor(message: String)
Creates a new instance of ExecException with the specified message.
constructor(message: String, cause: Throwable)
Creates a new instance of ExecException with the specified message and cause.

Properties

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

Functions

Link copied to clipboard
open fun addResolution(resolution: String)
Adds a potential resolution to this exception.
Link copied to clipboard
fun addSuppressed(exception: Throwable)
Link copied to clipboard
Clears the resolutions from this exception.
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