Stay organized with collections
Save and categorize content based on your preferences.
ICUUncheckedIOException
open class ICUUncheckedIOException : RuntimeException
Unchecked version of java.io.IOException
. Some ICU APIs do not throw the standard exception but instead wrap it into this unchecked version.
This currently extends RuntimeException
, but when ICU can rely on Java 8 this class should be changed to extend java.io.UncheckedIOException instead.
Summary
Public constructors |
Default constructor.
|
Constructor.
|
Constructor.
|
Constructor.
|
Public constructors
ICUUncheckedIOException
ICUUncheckedIOException()
Default constructor.
ICUUncheckedIOException
ICUUncheckedIOException(message: String!)
Constructor.
Parameters |
message |
String!: exception message string |
ICUUncheckedIOException
ICUUncheckedIOException(
message: String!,
cause: Throwable!)
Constructor.
ICUUncheckedIOException
ICUUncheckedIOException(cause: Throwable!)
Constructor.
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,["# ICUUncheckedIOException\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nICUUncheckedIOException\n=======================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/icu/util/ICUUncheckedIOException \"View this page in Java\") \n\n```\nopen class ICUUncheckedIOException : RuntimeException\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.Exception](../../../java/lang/Exception.html#) |||\n| | | ↳ | [java.lang.RuntimeException](../../../java/lang/RuntimeException.html#) ||\n| | | | ↳ | [android.icu.util.ICUUncheckedIOException](#) |\n\nUnchecked version of [java.io.IOException](../../../java/io/IOException.html#). Some ICU APIs do not throw the standard exception but instead wrap it into this unchecked version.\n\nThis currently extends [RuntimeException](../../../java/lang/RuntimeException.html#), but when ICU can rely on Java 8 this class should be changed to extend java.io.UncheckedIOException instead.\n\nSummary\n-------\n\n| Public constructors ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [ICUUncheckedIOException](#ICUUncheckedIOException())`()` Default constructor. |\n| [ICUUncheckedIOException](#ICUUncheckedIOException(kotlin.String))`(`message:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` Constructor. |\n| [ICUUncheckedIOException](#ICUUncheckedIOException(kotlin.String,%20kotlin.Throwable))`(`message:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`, `cause:` `[Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)!`)` Constructor. |\n| [ICUUncheckedIOException](#ICUUncheckedIOException(kotlin.Throwable))`(`cause:` `[Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)!`)` Constructor. |\n\nPublic constructors\n-------------------\n\n### ICUUncheckedIOException\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nICUUncheckedIOException()\n```\n\nDefault constructor. \n\n### ICUUncheckedIOException\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nICUUncheckedIOException(message: String!)\n```\n\nConstructor.\n\n| Parameters ||\n|-----------|-------------------------------------------------------------------------------------------------------------|\n| `message` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: exception message string |\n\n### ICUUncheckedIOException\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nICUUncheckedIOException(\n message: String!, \n cause: Throwable!)\n```\n\nConstructor.\n\n| Parameters ||\n|-----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `message` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: exception message string |\n| `cause` | [Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)!: original exception (normally a [java.io.IOException](../../../java/io/IOException.html#)) |\n\n### ICUUncheckedIOException\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nICUUncheckedIOException(cause: Throwable!)\n```\n\nConstructor.\n\n| Parameters ||\n|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `cause` | [Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)!: original exception (normally a [java.io.IOException](../../../java/io/IOException.html#)) |"]]