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:
java.io.Serializable
public class HttpResponseException extends ClientProtocolException
Signals a non 2xx HTTP response.- Since:
- 4.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HttpResponseException(int statusCode, java.lang.String reasonPhrase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getReasonPhrase()
int
getStatusCode()
-