Class ForbiddenException

All Implemented Interfaces:
Serializable, Response

public class ForbiddenException extends ResourceException
An exception that is thrown when access to a resource is forbidden during an operation on an resource.
See Also:
  • Constructor Details

    • ForbiddenException

      public ForbiddenException()
      Constructs a new exception with null as its detail message.
    • ForbiddenException

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

      public ForbiddenException(String message, Throwable cause)
      Constructs a new exception with the specified detail message and cause.
      Parameters:
      message - The detail message.
      cause - The exception which caused this exception to be thrown.
    • ForbiddenException

      public ForbiddenException(Throwable cause)
      Constructs a new exception with the specified cause.
      Parameters:
      cause - The exception which caused this exception to be thrown.