Class HttpResponseException

All Implemented Interfaces:
Serializable

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

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • statusCode

      private final int statusCode
    • reasonPhrase

      private final String reasonPhrase
  • Constructor Details

    • HttpResponseException

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

    • getStatusCode

      public int getStatusCode()
    • getReasonPhrase

      public String getReasonPhrase()