added in API level 24

ICUUncheckedIOException

public class ICUUncheckedIOException
extends RuntimeException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ android.icu.util.ICUUncheckedIOException


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.

Summary

Public constructors

ICUUncheckedIOException()

Default constructor.

ICUUncheckedIOException(String message)

Constructor.

ICUUncheckedIOException(Throwable cause)

Constructor.

ICUUncheckedIOException(String message, Throwable cause)

Constructor.

Inherited methods

Public constructors

ICUUncheckedIOException

added in API level 24
ICUUncheckedIOException ()

Default constructor.

ICUUncheckedIOException

added in API level 24
ICUUncheckedIOException (String message)

Constructor.

Parameters
message String: exception message string

ICUUncheckedIOException

added in API level 24
ICUUncheckedIOException (Throwable cause)

Constructor.

Parameters
cause Throwable: original exception (normally a IOException)

ICUUncheckedIOException

added in API level 24
ICUUncheckedIOException (String message, 
                Throwable cause)

Constructor.

Parameters
message String: exception message string

cause Throwable: original exception (normally a IOException)