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:
java.io.Serializable
public class ICUUncheckedIOException extends java.lang.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(java.lang.String message)
Constructor.ICUUncheckedIOException(java.lang.String message, java.lang.Throwable cause)
Constructor.ICUUncheckedIOException(java.lang.Throwable cause)
Constructor.
-
-
-
Constructor Detail
-
ICUUncheckedIOException
public ICUUncheckedIOException()
Default constructor.
-
ICUUncheckedIOException
public ICUUncheckedIOException(java.lang.String message)
Constructor.- Parameters:
message
- exception message string
-
ICUUncheckedIOException
public ICUUncheckedIOException(java.lang.Throwable cause)
Constructor.- Parameters:
cause
- original exception (normally aIOException
)
-
ICUUncheckedIOException
public ICUUncheckedIOException(java.lang.String message, java.lang.Throwable cause)
Constructor.- Parameters:
message
- exception message stringcause
- original exception (normally aIOException
)
-
-