public class ICUUncheckedIOException extends RuntimeException
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.
Constructor and Description |
---|
ICUUncheckedIOException()
Default constructor.
|
ICUUncheckedIOException(String message)
Constructor.
|
ICUUncheckedIOException(String message,
Throwable cause)
Constructor.
|
ICUUncheckedIOException(Throwable cause)
Constructor.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ICUUncheckedIOException()
public ICUUncheckedIOException(String message)
message
- exception message stringpublic ICUUncheckedIOException(Throwable cause)
cause
- original exception (normally a IOException
)public ICUUncheckedIOException(String message, Throwable cause)
message
- exception message stringcause
- original exception (normally a IOException
)Copyright © 2016 Unicode, Inc. and others.