Added in API level 9

IOError

open class IOError : Error
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Error
   ↳ java.io.IOError

Thrown when a serious I/O error has occurred.

Summary

Public constructors
IOError(cause: Throwable!)

Constructs a new instance of IOError with the specified cause.

Public constructors

IOError

Added in API level 9
IOError(cause: Throwable!)

Constructs a new instance of IOError with the specified cause. The IOError is created with the detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

Parameters
cause Throwable!: The cause of this error, or null if the cause is not known