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

org.purl.sword.base.SWORDAuthenticationException Maven / Gradle / Ivy

The 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://www.dspace.org/license/
 */
package org.purl.sword.base;

/**
 * Represents a SWORD exception to be thrown if bad authentication credentials
 * are passed to a repository.
 *
 * @author Stuart Lewis
 * @author Neil Taylor
 */
public class SWORDAuthenticationException extends Exception {
    /**
     * Create a new instance and store the specified message and source data.
     *
     * @param message The message for the exception.
     * @param source  The original exception that lead to this exception. This
     *                can be null.
     */
    public SWORDAuthenticationException(String message, Exception source) {
        super(message, source);
    }

    /**
     * Create a new instance and store the specified message.
     *
     * @param message The message for the exception.
     */
    public SWORDAuthenticationException(String message) {
        super(message);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy