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
public class ICUUncheckedIOException extends RuntimeException
Unchecked version ofIOException
. 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ICUUncheckedIOException()
Default 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 Detail
-
ICUUncheckedIOException
public ICUUncheckedIOException()
Default constructor.
-
ICUUncheckedIOException
public ICUUncheckedIOException(String message)
Constructor.- Parameters:
message
- exception message string
-
ICUUncheckedIOException
public ICUUncheckedIOException(Throwable cause)
Constructor.- Parameters:
cause
- original exception (normally aIOException
)
-
ICUUncheckedIOException
public ICUUncheckedIOException(String message, Throwable cause)
Constructor.- Parameters:
message
- exception message stringcause
- original exception (normally aIOException
)
-
-