org.purl.sword.base
Class SWORDAuthenticationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.purl.sword.base.SWORDAuthenticationException
All Implemented Interfaces:
Serializable

public class SWORDAuthenticationException
extends Exception

Represents a SWORD exception to be thrown if bad authentication credentials are passed to a repository.

Author:
Stuart Lewis, Neil Taylor
See Also:
Serialized Form

Constructor Summary
SWORDAuthenticationException(String message)
          Create a new instance and store the specified message.
SWORDAuthenticationException(String message, Exception source)
          Create a new instance and store the specified message and source data.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SWORDAuthenticationException

public SWORDAuthenticationException(String message,
                                    Exception source)
Create a new instance and store the specified message and source data.

Parameters:
message - The message for the exception.
source - The original exception that lead to this exception. This can be null.

SWORDAuthenticationException

public SWORDAuthenticationException(String message)
Create a new instance and store the specified message.

Parameters:
message - The message for the exception.


Copyright © 2013 DuraSpace. All Rights Reserved.