org.fishwife.jrugged.httpclient
Class UnsuccessfulResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.fishwife.jrugged.httpclient.UnsuccessfulResponseException
- All Implemented Interfaces:
- Serializable
public class UnsuccessfulResponseException
- extends RuntimeException
Used to wrap 4XX or 5XX responses from an HTTP server in exceptions
so that ServiceWrapper instances can
experience them as failures.
- See Also:
- Serialized Form
|
Method Summary |
org.apache.http.HttpResponse |
getResponse()
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UnsuccessfulResponseException
public UnsuccessfulResponseException(org.apache.http.HttpResponse resp)
getResponse
public org.apache.http.HttpResponse getResponse()
Copyright © 2013. All Rights Reserved.