All pastes #730686 Raw Edit

ogrisel

public text v1 · immutable
·published 2007-10-09 12:59 UTC
rendered paste body
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));
    }

}