| java.lang.Object java.lang.Throwable java.lang.Exception org.purl.sword.base.SWORDException
SWORDException | public class SWORDException extends Exception (Code) | | Represents a generic SWORD exception. If this thrown by a repository,
it would result in a HTTP 500 message being returned to the user.
author: Stuart Lewis author: Neil Taylor |
SWORDException | public SWORDException(String message, Exception source)(Code) | | Create a new instance and store the specified message and source data.
Parameters: message - The message for the exception. Parameters: source - The original exception that lead to this exception. Thiscan be null . |
SWORDException | public SWORDException(String message, Exception source, String errorCode)(Code) | | Create a new instance and store the specified message and source data.
Parameters: message - The message for the exception. Parameters: source - The original exception that lead to this exception. Thiscan be null . Parameters: errorCode - The error code to sed back with the request |
SWORDException | public SWORDException(String message)(Code) | | Create a new instance and store the specified message.
Parameters: message - The message for the exception. |
getErrorCode | public String getErrorCode()(Code) | | Get the error code
The error code |
|
|