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(String message, Throwable cause)

Constructor.

ICUUncheckedIOException(Throwable cause)

Constructor.

Inherited methods

Public constructors

ICUUncheckedIOException

Added in API level 24
public ICUUncheckedIOException ()

Default constructor.

ICUUncheckedIOException

Added in API level 24
public ICUUncheckedIOException (String message)

Constructor.

Parameters
message String: exception message string

ICUUncheckedIOException

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

Constructor.

Parameters
message String: exception message string

cause Throwable: original exception (normally a IOException)

ICUUncheckedIOException

Added in API level 24
public ICUUncheckedIOException (Throwable cause)

Constructor.

Parameters
cause Throwable: original exception (normally a IOException)