IOException

expect class IOException : Exception(source)
actual class IOException : Exception(source)

Constructors

Link copied to clipboard
expect constructor()

Constructs an IOException with null as its error detail message.

expect constructor(message: String?)

Constructs an IOException with the specified detail message.

expect constructor(message: String?, cause: Throwable?)

Constructs an IOException with the specified detail message and cause.

expect constructor(cause: Throwable?)

Constructs an IOException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for IO exceptions that are little more than wrappers for other throwables.

actual constructor()

Constructs an IOException with null as its error detail message.

actual constructor(message: String?)

Constructs an IOException with the specified detail message.

actual constructor(message: String?, cause: Throwable?)

Constructs an IOException with the specified detail message and cause.

actual constructor(cause: Throwable?)

Constructs an IOException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for IO exceptions that are little more than wrappers for other throwables.

Properties

cause
Link copied to clipboard
open val cause: Throwable?
open val cause: Throwable?
message
Link copied to clipboard
open val message: String?
open val message: String?