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.

UncheckedIOException

Deprecated

Use java.io.UncheckedIOException instead. Will be removed in Gradle 10.

UncheckedIOException is used to wrap an java.io.IOException into an unchecked exception.

Since

0.7

Constructors

Link copied to clipboard
constructor()
Creates a new UncheckedIOException.
constructor(@Nullable message: @Nullable String)
Creates a new UncheckedIOException.
constructor(@Nullable message: @Nullable String, @Nullable cause: @Nullable Throwable)
Creates a new UncheckedIOException.
constructor(@Nullable cause: @Nullable Throwable)
Creates a new UncheckedIOException.

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