package org.nuxeo.ecm.core.api;
import java.io.IOException;
/**
* IOException with additional constructor to be able to wrap existing exception
*
* @author ogrisel
*
*/
public class CoreIOException extends IOException {
private static final long serialVersionUID = 5758498248612479333L;
public CoreIOException() {
super();
}
public CoreIOException(String message) {
super(message);
}
public CoreIOException(String message, Throwable cause) {
super(message, WrappedException.wrap(cause));
}
public CoreIOException(Throwable cause) {
super(WrappedException.wrap(cause));
}
}