Class AccessDeniedException

All Implemented Interfaces:
Serializable

public class AccessDeniedException extends ResourceException
Raised when access is denied to some resource.
See Also:
  • Constructor Details

    • AccessDeniedException

      public AccessDeniedException(ILocation resource)
      Exception without message and cause.
      Parameters:
      resource - resource location (should be absolute if possible)
    • AccessDeniedException

      public AccessDeniedException(ILocation resource, String message)
      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)
      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)
      Exception with message and cause.
      Parameters:
      resource - resource location (should be absolute if possible)
      message - detail message
      cause - exception cause