IOException

expect open class IOException(message: String, cause: Throwable? = null) : Exception(source)

Thrown when issue occurs while trying to read or write data to an external location, like a file or network socket.

In the JVM, this is an alias for java.io.IOException. On other platforms, a placeholder class exists.

actual typealias IOException = IOException
actual open class IOException(message: String, cause: Throwable?) : Exception(source)

Constructors

Link copied to clipboard
expect fun IOException(message: String, cause: Throwable? = null)
actual fun IOException(message: String, cause: Throwable?)

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?

Inheritors

Link copied to clipboard
Link copied to clipboard