public
class
ICUUncheckedIOException
extends RuntimeException
java.lang.Object | ||||
↳ | java.lang.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.lang.RuntimeException | |||
↳ | android.icu.util.ICUUncheckedIOException |
Unchecked version of 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.
Public constructors | |
---|---|
ICUUncheckedIOException()
Default constructor. |
|
ICUUncheckedIOException(String message)
Constructor. |
|
ICUUncheckedIOException(Throwable cause)
Constructor. |
|
ICUUncheckedIOException(String message, Throwable cause)
Constructor. |
Inherited methods | |
---|---|
From
class
java.lang.Throwable
| |
From
class
java.lang.Object
|
ICUUncheckedIOException (String message)
Constructor.
Parameters | |
---|---|
message |
String :
exception message string
|
ICUUncheckedIOException (Throwable cause)
Constructor.
Parameters | |
---|---|
cause |
Throwable :
original exception (normally a IOException )
|
ICUUncheckedIOException (String message, Throwable cause)
Constructor.
Parameters | |
---|---|
message |
String :
exception message string |
cause |
Throwable :
original exception (normally a IOException )
|