Class HttpResponseException

All Implemented Interfaces:
Serializable

public class HttpResponseException extends ClientProtocolException
Signals a non 2xx HTTP response.
Since:
4.0
See Also:
  • Constructor Details

    • HttpResponseException

      public HttpResponseException(int statusCode, String reasonPhrase)
  • Method Details

    • getStatusCode

      public int getStatusCode()
    • getReasonPhrase

      public String getReasonPhrase()