org.ogf.saga.error
Class PermissionDeniedException

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.PermissionDeniedException
All Implemented Interfaces:
Serializable, Comparable<SagaException>, Iterable<SagaException>

public class PermissionDeniedException
extends SagaException

This exception indicates that the identity used for the operation did not have sufficient permissions to perform the operation successfully.

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
PermissionDeniedException()
          Constructs a PermissionDenied exception.
PermissionDeniedException(String message)
          Constructs a PermissionDenied exception with the specified detail message.
PermissionDeniedException(String message, SagaObject object)
          Constructs a PermissionDenied exception with the specified detail message and associated SAGA object.
PermissionDeniedException(String message, Throwable cause)
          Constructs a PermissionDenied exception with the specified detail message and cause.
PermissionDeniedException(String detail, Throwable cause, SagaObject object)
          Constructs a new PermissionDeniedException with the specified detail message, specified cause and associated SAGA object.
PermissionDeniedException(Throwable cause)
          Constructs a PermissionDenied exception with the specified cause.
PermissionDeniedException(Throwable cause, SagaObject object)
          Constructs a new PermissionDeniedException 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

PermissionDeniedException

public PermissionDeniedException()
Constructs a PermissionDenied exception.


PermissionDeniedException

public PermissionDeniedException(String message)
Constructs a PermissionDenied exception with the specified detail message.

Parameters:
message - the detail message.

PermissionDeniedException

public PermissionDeniedException(Throwable cause)
Constructs a PermissionDenied exception with the specified cause.

Parameters:
cause - the cause.

PermissionDeniedException

public PermissionDeniedException(String message,
                                 Throwable cause)
Constructs a PermissionDenied exception with the specified detail message and cause.

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

PermissionDeniedException

public PermissionDeniedException(String message,
                                 SagaObject object)
Constructs a PermissionDenied exception with the specified detail message and associated SAGA object.

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

PermissionDeniedException

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

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

PermissionDeniedException

public PermissionDeniedException(String detail,
                                 Throwable cause,
                                 SagaObject object)
Constructs a new PermissionDeniedException 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.