Class ForbiddenException

All Implemented Interfaces:
Serializable

@ResponseStatus(FORBIDDEN) public class ForbiddenException extends AbstractLocalifyException
Exception thrown when a user is not authorized to access a resource.
See Also:
  • Constructor Details

    • ForbiddenException

      public ForbiddenException()
      Constructs a new ForbiddenException with a default message.
    • ForbiddenException

      public ForbiddenException(String message)
      Constructs a new ForbiddenException with the specified message.
      Parameters:
      message - The detail message.
    • ForbiddenException

      public ForbiddenException(Throwable cause)
      Constructs a new ForbiddenException with the specified cause.
      Parameters:
      cause - The cause.
    • ForbiddenException

      public ForbiddenException(String str, Throwable cause)
      Constructs a new ForbiddenException with the specified message and cause.
      Parameters:
      str - The detail message.
      cause - The cause.