All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.duracloud.error.NotFoundException Maven / Gradle / Ivy

There is a newer version: 8.1.0
Show newest version
/*
 * The contents of this file are subject to the license and copyright
 * detailed in the LICENSE and NOTICE files at the root of the source
 * tree and available online at
 *
 *     http://duracloud.org/license/
 */
package org.duracloud.error;

/**
 * Exception thrown when a requested space or content item does not exist.
 *
 * @author Bill Branan
 */
public class NotFoundException extends ContentStoreException {

    public NotFoundException(String message) {
        super(message);
    }

    public NotFoundException(String task, String spaceId, Exception e) {
        super(task, spaceId, e);
    }

    public NotFoundException(String task,
                             String spaceId,
                             String contentId,
                             Exception e) {
        super(task, spaceId, contentId, e);
    }

    public NotFoundException(String task,
                             String srcSpaceId,
                             String srcContentId,
                             String destSpaceId,
                             String destContentId,
                             Exception e) {
        super(task, srcSpaceId, srcContentId, destSpaceId, destContentId, e);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy