Class ICUUncheckedIOException

  • All Implemented Interfaces:
    Serializable

    public class ICUUncheckedIOException
    extends 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
    • 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 a IOException)
      • ICUUncheckedIOException

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