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 HttpResponseException
response -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class HttpResponseException
getResponseMethods inherited from class org.apache.http.client.HttpResponseException
getReasonPhrase, getStatusCodeMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
cause
-
-
Constructor Details
-
ResponseParseException
-
-
Method Details
-
getCause
-