Class AccessDeniedException

All Implemented Interfaces:
Serializable, oracle.iam.platform.utils.io.XmlPrintable

public class AccessDeniedException extends SuperRuntimeException
An exception to signal the error condition that the user is not authorized to perform an operation. Clients should do proactive authorization checks by calls to AuthorizationService and avoid getting this exception.
See Also:
  • Constructor Details

    • AccessDeniedException

      public AccessDeniedException()
      Constructs a new super exception with null as its detail message.
    • AccessDeniedException

      public AccessDeniedException(String message)
      Constructs a new super exception with the specified detail message.
      Parameters:
      message - the detail message
    • AccessDeniedException

      public AccessDeniedException(String message, Throwable cause)
      Constructs a new super exception with the specified detail message and cause.
      Parameters:
      message - the detail message
      cause - the cause
    • AccessDeniedException

      public AccessDeniedException(String errorCode, String errorMessage, Serializable[] errorData, Throwable e)
      Constructs a new super exception with the specified detail message.
      Parameters:
      errorCode -
      errorMessage -
      errorData -
      e -
    • AccessDeniedException

      public AccessDeniedException(Throwable cause)
      Constructs a new super exception with the specified cause.
      Parameters:
      cause - the cause