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
- Status:
- Stable ICU 53.
-
-
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.- Status:
- Stable ICU 53.
-
ICUUncheckedIOException
public ICUUncheckedIOException(String message)
Constructor.- Parameters:
message- exception message string- Status:
- Stable ICU 53.
-
ICUUncheckedIOException
public ICUUncheckedIOException(Throwable cause)
Constructor.- Parameters:
cause- original exception (normally aIOException)- Status:
- Stable ICU 53.
-
ICUUncheckedIOException
public ICUUncheckedIOException(String message, Throwable cause)
Constructor.- Parameters:
message- exception message stringcause- original exception (normally aIOException)- Status:
- Stable ICU 53.
-
-