Class ResponseParseException

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
groovyx.net.http.ResponseParseException
All Implemented Interfaces:
Serializable

public class ResponseParseException extends HttpResponseException
Thrown when a response body is parsed unsuccessfully. This most often occurs when a server returns an error status code and sends a different content-type body from what was expected. You can inspect the response content-type by calling ex.response.contentType.
Since:
0.5.0
See Also: