Stay organized with collections
Save and categorize content based on your preferences.
IOError
open class IOError : Error
Thrown when a serious I/O error has occurred.
Summary
Public constructors |
Constructs a new instance of IOError with the specified cause.
|
Public constructors
IOError
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 |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# IOError\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nIOError\n=======\n\n```\nopen class IOError : Error\n```\n\n|---|---|---|----------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||||\n| ↳ | [kotlin.Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html) |||\n| | ↳ | [java.lang.Error](../lang/Error.html#) ||\n| | | ↳ | [java.io.IOError](#) |\n\nThrown when a serious I/O error has occurred.\n\nSummary\n-------\n\n| Public constructors ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [IOError](#IOError(kotlin.Throwable))`(`cause:` `[Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)!`)` Constructs a new instance of IOError with the specified cause. |\n\nPublic constructors\n-------------------\n\n### IOError\n\nAdded in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nIOError(cause: Throwable!)\n```\n\nConstructs 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).\n\n| Parameters ||\n|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `cause` | [Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)!: The cause of this error, or `null` if the cause is not known |"]]