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

org.duracloud.error.UnauthorizedException 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 request is not accepted because the caller is not
 * authorized to perform the function
 *
 * @author Bill Branan
 */
public class UnauthorizedException extends ContentStoreException {

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

    public UnauthorizedException(String message, Exception e) {
        super(message, e);
    }

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

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

    public UnauthorizedException(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