Class AccessDeniedException

All Implemented Interfaces:
Serializable

@Deprecated public class AccessDeniedException extends RequestExecutionException
Deprecated.
This module will be discontinued, along with its classes and methods.
Thrown when a certain service denies access to the requested resources.
See Also:
  • Field Details

    • principal

      @Nullable protected transient Principal principal
      Deprecated.
      The principal reference.
    • missingAuthorizations

      @Nullable protected transient String missingAuthorizations
      Deprecated.
      The missing authorization values.
  • Constructor Details

    • AccessDeniedException

      public AccessDeniedException(@Nullable String message)
      Deprecated.
      Constructor.
      Parameters:
      message - The message.
    • AccessDeniedException

      public AccessDeniedException(@Nullable Throwable cause)
      Deprecated.
      Constructor.
      Parameters:
      cause - The error cause.
    • AccessDeniedException

      public AccessDeniedException(@Nullable String message, @Nullable Throwable cause)
      Deprecated.
      Constructor.
      Parameters:
      message - The message.
      cause - The error cause.
    • AccessDeniedException

      public AccessDeniedException(@Nullable Principal principal, @Nullable String missingAuthorizations)
      Deprecated.
      Constructor.
      Parameters:
      principal - The principal reference.
      missingAuthorizations - The missing authorization values.
    • AccessDeniedException

      public AccessDeniedException()
      Deprecated.
  • Method Details

    • raiseMissingAuthorizations

      @Nonnull public static AccessDeniedException raiseMissingAuthorizations(@Nullable Principal principal, @Nullable String missingAuthorizations)
      Deprecated.
      Static factory method to instantiate a new exception.
      Parameters:
      principal - The principal reference.
      missingAuthorizations - The missing authorization values.
      Returns:
      The newly created exception.
    • getPrincipal

      @Nullable public Principal getPrincipal()
      Deprecated.
      The principal reference.
    • getMissingAuthorizations

      @Nullable public String getMissingAuthorizations()
      Deprecated.
      The missing authorization values.