Package groovyx.net.http
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
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:
-
Field Summary
FieldsFields inherited from class groovyx.net.http.HttpResponseException
response
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class groovyx.net.http.HttpResponseException
getResponse
Methods inherited from class org.apache.http.client.HttpResponseException
getReasonPhrase, getStatusCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString