org.jsoup.UncheckedIOException Maven / Gradle / Ivy
Go to download
SDK for dev_appserver (local development) with some of the dependencies shaded (repackaged)
package org.jsoup;
import java.io.IOException;
/**
* @deprecated Use {@link java.io.UncheckedIOException} instead. This class acted as a compatibility shim for Java
* versions prior to 1.8.
*/
// todo annotate @Deprecated in next release (after previous @Deprecations clear)
public class UncheckedIOException extends java.io.UncheckedIOException {
public UncheckedIOException(IOException cause) {
super(cause);
}
public UncheckedIOException(String message) {
super(new IOException(message));
}
public IOException ioException() {
return getCause();
}
}