Class AccessDeniedException

  • All Implemented Interfaces:
    Serializable

    public final class AccessDeniedException
    extends Exception
    When a resource or page was found, but access was denied.
    Since:
    7.0.0
    Author:
    XIMA MEDIA GmbH
    See Also:
    Serialized Form
    • Constructor Detail

      • AccessDeniedException

        public AccessDeniedException​(String message)
        Creates a new exception for when a resource or page was found, but access was denied.
        Parameters:
        message - Error message for the exception.
      • AccessDeniedException

        public AccessDeniedException​(String message,
                                     Throwable cause)
        Creates a new exception for when a resource or page was found, but access was denied.
        Parameters:
        message - Error message for the exception.
        cause - Underlying cause of the exception.