org.ogf.saga.error
Class AuthorizationFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.ogf.saga.error.SagaException
              extended by org.ogf.saga.error.AuthorizationFailedException
All Implemented Interfaces:
Serializable, Comparable<SagaException>, Iterable<SagaException>

public class AuthorizationFailedException
extends SagaException

This exception indicates that a method fails because none of the available session contexts could succesfully be used for authorization.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.ogf.saga.error.SagaException
ALREADY_EXISTS, AUTHENTICATION_FAILED, AUTHORIZATION_FAILED, BAD_PARAMETER, DOES_NOT_EXIST, INCORRECT_STATE, INCORRECT_URL, IO_EXCEPTION, NO_SUCCESS, NOT_IMPLEMENTED, PERMISSION_DENIED, TIMEOUT
 
Constructor Summary
AuthorizationFailedException()
          Constructs an AuthorizationFailed exception.
AuthorizationFailedException(String message)
          Constructs an AuthorizationFailed exception with the specified detail message.
AuthorizationFailedException(String message, SagaObject object)
          Constructs an AuthorizationFailed exception with the specified detail message and associated SAGA object.
AuthorizationFailedException(String message, Throwable cause)
          Constructs an AuthorizationFailed exception with the specified detail message and cause.
AuthorizationFailedException(String detail, Throwable cause, SagaObject object)
          Constructs a new AuthorizationFailedException with the specified detail message, specified cause and associated SAGA object.
AuthorizationFailedException(Throwable cause)
          Constructs an AuthorizationFailed exception with the specified cause.
AuthorizationFailedException(Throwable cause, SagaObject object)
          Constructs a new AuthorizationFailedException with the specified cause and associated SAGA object.
 
Method Summary
 
Methods inherited from class org.ogf.saga.error.SagaException
addNestedException, compareTo, getAllExceptions, getAllMessages, getObject, iterator, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthorizationFailedException

public AuthorizationFailedException()
Constructs an AuthorizationFailed exception.


AuthorizationFailedException

public AuthorizationFailedException(String message)
Constructs an AuthorizationFailed exception with the specified detail message.

Parameters:
message - the detail message.

AuthorizationFailedException

public AuthorizationFailedException(Throwable cause)
Constructs an AuthorizationFailed exception with the specified cause.

Parameters:
cause - the cause.

AuthorizationFailedException

public AuthorizationFailedException(String message,
                                    Throwable cause)
Constructs an AuthorizationFailed exception with the specified detail message and cause.

Parameters:
message - the detail message.
cause - the cause.

AuthorizationFailedException

public AuthorizationFailedException(String message,
                                    SagaObject object)
Constructs an AuthorizationFailed exception with the specified detail message and associated SAGA object.

Parameters:
message - the detail message.
object - the associated SAGA object.

AuthorizationFailedException

public AuthorizationFailedException(Throwable cause,
                                    SagaObject object)
Constructs a new AuthorizationFailedException with the specified cause and associated SAGA object.

Parameters:
cause - the cause.
object - the SAGA object associated with the exception.

AuthorizationFailedException

public AuthorizationFailedException(String detail,
                                    Throwable cause,
                                    SagaObject object)
Constructs a new AuthorizationFailedException with the specified detail message, specified cause and associated SAGA object.

Parameters:
detail - the detail message.
cause - the cause.
object - the SAGA object associated with the exception.


Copyright © 2014 Open Grid Forum. All rights reserved.