HttpClientExceptiongetResponse Method A Sandcastle Documented Class Library
If this exception resulted from a 4xx or 5xx error response fromthe server, this method provides access to the response body.

Namespace: Ontotext.S4.client
Assembly: S4ClientLibrary (in S4ClientLibrary.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public JsonObject getResponse()

Return Value

Type: JsonObject
the error response body as a Jackson {@link JsonNode}, or
null
if no response is available (e.g. if this exception wraps an IOException rather than representing an error response from the server).
See Also

Reference