Added in API level 24
ICUUncheckedIOException
open class ICUUncheckedIOException : RuntimeException
| kotlin.Any | ||||
| ↳ | kotlin.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | java.lang.RuntimeException | |||
| ↳ | android.icu.util.ICUUncheckedIOException | |||
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. |
|
ICUUncheckedIOException(message: String!)Constructor. |
|
ICUUncheckedIOException(message: String!, cause: Throwable!)Constructor. |
|
ICUUncheckedIOException(cause: Throwable!)Constructor. |
|
Public constructors
ICUUncheckedIOException
Added in API level 24
ICUUncheckedIOException(message: String!)
Constructor.
| Parameters | |
|---|---|
message |
String!: exception message string |
ICUUncheckedIOException
Added in API level 24
ICUUncheckedIOException(
message: String!,
cause: Throwable!)
Constructor.
| Parameters | |
|---|---|
message |
String!: exception message string |
cause |
Throwable!: original exception (normally a java.io.IOException) |
ICUUncheckedIOException
Added in API level 24
ICUUncheckedIOException(cause: Throwable!)
Constructor.
| Parameters | |
|---|---|
cause |
Throwable!: original exception (normally a java.io.IOException) |