Class ICUUncheckedIOException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ICUUncheckedIOException
    extends java.lang.RuntimeException
    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:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 a IOException)
      • ICUUncheckedIOException

        public ICUUncheckedIOException​(java.lang.String message,
                                       java.lang.Throwable cause)
        Constructor.
        Parameters:
        message - exception message string
        cause - original exception (normally a IOException)