Package org.apache.http.client
Class HttpResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.http.client.ClientProtocolException
org.apache.http.client.HttpResponseException
- All Implemented Interfaces:
Serializable
Signals a non 2xx HTTP response.
- Since:
- 4.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HttpResponseException
-
-
Method Details
-
getStatusCode
public int getStatusCode() -
getReasonPhrase
-