
org.purl.sword.base.SWORDAuthenticationException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dspace-sword Show documentation
Show all versions of dspace-sword Show documentation
DSpace SWORD Deposit Service Provider Extension
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