public class WebServerErrorException extends WebClientResponseException
Constructor and Description |
---|
WebServerErrorException(ClientHttpResponse response,
List<HttpMessageReader<?>> messageReaders)
Construct a new instance of
HttpServerErrorException 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 WebServerErrorException(ClientHttpResponse response, List<HttpMessageReader<?>> messageReaders)
HttpServerErrorException
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