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

org.duracloud.error.UnsupportedTaskException 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;

/**
 * @author: Bill Branan
 * Date: May 20, 2010
 */
public class UnsupportedTaskException extends ContentStoreException {

    private static final String messageKey = "duracloud.error.durastore.task";

    public UnsupportedTaskException(String taskName, Throwable t) {
        super("Task " + taskName + "is not supported", t, messageKey);
        setArgs(taskName, t.getMessage());
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy