Package com.ibm.icu.util
Class ICUUncheckedIOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.ibm.icu.util.ICUUncheckedIOException
- All Implemented Interfaces:
Serializable
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.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ICUUncheckedIOException
(String message) Constructor.ICUUncheckedIOException
(String message, Throwable cause) Constructor.ICUUncheckedIOException
(Throwable cause) Constructor. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ICUUncheckedIOException
public ICUUncheckedIOException()Default constructor. -
ICUUncheckedIOException
Constructor.- Parameters:
message
- exception message string
-
ICUUncheckedIOException
Constructor.- Parameters:
cause
- original exception (normally aIOException
)
-
ICUUncheckedIOException
Constructor.- Parameters:
message
- exception message stringcause
- original exception (normally aIOException
)
-