public class WebClientErrorException extends WebClientResponseException
Constructor and Description |
---|
WebClientErrorException(ClientHttpResponse response,
List<HttpMessageReader<?>> messageReaders)
Construct a new instance of
HttpClientErrorException based on a
ClientHttpResponse and HttpMessageReader s to optionally
help decoding the response body |
getResponseBody, getResponseHeaders, getStatus
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public WebClientErrorException(ClientHttpResponse response, List<HttpMessageReader<?>> messageReaders)
HttpClientErrorException
based on a
ClientHttpResponse
and HttpMessageReader
s to optionally
help decoding the response bodyresponse
- the HTTP responsemessageReaders
- the message converters that may decode the HTTP response body