Class HttpClientResponseException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
OAuth2Exception

public class HttpClientResponseException extends HttpClientException
A generic exception thrown when the server replies with an unexpected status code.

This exception is generally thrown when the status code is not in the 2xx or 3xx range, and if a response filter did not throw a more specific exception.

See Also:
  • Constructor Details

    • HttpClientResponseException

      public HttpClientResponseException(String message, Status status)
  • Method Details

    • getStatus

      public Status getStatus()