Class HttpResponseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.http.client.ClientProtocolException
org.apache.http.client.HttpResponseException
groovyx.net.http.HttpResponseException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ResponseParseException

public class HttpResponseException extends org.apache.http.client.HttpResponseException
Wraps an error response in an exception for flow control purposes. That is, you can still inspect response headers, but in a catch( HttpResponseException ex ) { } block.
Since:
0.5
See Also: