Class UnauthorizedException

All Implemented Interfaces:
Serializable

public class UnauthorizedException extends RequestException
Exception thrown when the client making a web request doesn't have rights to the requested resource.

The HTTP status for this exception is 403 FORBIDDEN.

Since:
1.0
Version:
2022-09-01
See Also:
  • Constructor Details

    • UnauthorizedException

      public UnauthorizedException(String message)
      Constructs a new "unauthorized" exception with the specified message.
      Parameters:
      message - the detailed error message
    • UnauthorizedException

      public UnauthorizedException(Throwable cause)
      Constructs a new "unauthorized" exception with the specified cause.
      Parameters:
      cause - the exception that caused this exception
    • UnauthorizedException

      public UnauthorizedException(String message, Throwable cause)
      Constructs a new "unauthorized" exception with the specified message and cause.
      Parameters:
      message - the detailed error message
      cause - the exception that caused this exception