Class AccessDeniedException

All Implemented Interfaces:
Serializable

@Deprecated(since="3.24.4", forRemoval=true) public class AccessDeniedException extends ResourceException
Deprecated, for removal: This API element is subject to removal in a future version.
Raised when access is denied to some resource.
See Also:
  • Constructor Details

    • AccessDeniedException

      public AccessDeniedException(ILocation resource)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Exception without message and cause.
      Parameters:
      resource - resource location (should be absolute if possible)
    • AccessDeniedException

      public AccessDeniedException(ILocation resource, String message)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Exception with message and without cause.
      Parameters:
      resource - resource location (should be absolute if possible)
      message - detail message
    • AccessDeniedException

      public AccessDeniedException(ILocation resource, Throwable cause)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Exception without message and with cause.
      Parameters:
      resource - resource location (should be absolute if possible)
      cause - exception cause
    • AccessDeniedException

      public AccessDeniedException(ILocation resource, String message, Throwable cause)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Exception with message and cause.
      Parameters:
      resource - resource location (should be absolute if possible)
      message - detail message
      cause - exception cause