net.dongliu.commons.lang.exception.RIOException Maven / Gradle / Ivy
package net.dongliu.commons.lang.exception;
import java.io.IOException;
/**
* the runtime exception(non-checked exception) version of IOException
*
* @author Dong Liu
*/
public class RIOException extends RuntimeException {
public RIOException() {
}
public RIOException(String message) {
super(message);
}
public RIOException(String message, Throwable cause) {
super(message, cause);
}
public RIOException(Throwable cause) {
super(cause);
}
public RIOException(IOException e) {
this(e.getMessage(), e);
}
public RIOException(String message, Throwable cause, boolean enableSuppression,
boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
}
}