public class HttpClientResponseException extends HttpClientException implements HttpResponseProvider
| Constructor and Description |
|---|
HttpClientResponseException(String message,
HttpResponse<?> response) |
HttpClientResponseException(String message,
Throwable cause,
HttpResponse<?> response) |
HttpClientResponseException(String message,
Throwable cause,
HttpResponse<?> response,
HttpClientErrorDecoder errorDecoder) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
HttpResponse<?> |
getResponse() |
HttpStatus |
getStatus() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HttpClientResponseException(String message, HttpResponse<?> response)
message - The messageresponse - The Http responsepublic HttpClientResponseException(String message, Throwable cause, HttpResponse<?> response)
message - The messagecause - The throwableresponse - The Http responsepublic HttpClientResponseException(String message, Throwable cause, HttpResponse<?> response, HttpClientErrorDecoder errorDecoder)
message - The messagecause - The throwableresponse - The Http responseerrorDecoder - The error decoderpublic String getMessage()
getMessage in class Throwablepublic HttpResponse<?> getResponse()
getResponse in interface HttpResponseProviderHttpResponsepublic HttpStatus getStatus()
HttpStatus returned