blob: 7cee857b3d369b56a323e653835ac5d0bf33ad03 [file] [log] [blame]
/* GENERATED SOURCE. DO NOT MODIFY. */
/*
*******************************************************************************
* Copyright (C) 2014-2015, International Business Machines Corporation and
* others. All Rights Reserved.
*******************************************************************************
*/
package android.icu.util;
/**
* Unchecked version of {@link java.io.IOException}.
* Some ICU APIs do not throw the standard exception but instead wrap it
* into this unchecked version.
*
* <p>This currently extends {@link RuntimeException},
* but when ICU can rely on Java 8 this class should be changed to extend
* java.io.UncheckedIOException instead.
* @hide All android.icu classes are currently hidden
*/
public class ICUUncheckedIOException extends RuntimeException {
private static final long serialVersionUID = 1210263498513384449L;
/**
* Default constructor.
*/
public ICUUncheckedIOException() {
}
/**
* Constructor.
*
* @param message exception message string
*/
public ICUUncheckedIOException(String message) {
super(message);
}
/**
* Constructor.
*
* @param cause original exception (normally a {@link java.io.IOException})
*/
public ICUUncheckedIOException(Throwable cause) {
super(cause);
}
/**
* Constructor.
*
* @param message exception message string
* @param cause original exception (normally a {@link java.io.IOException})
*/
public ICUUncheckedIOException(String message, Throwable cause) {
super(message, cause);
}
}