public class UnknownHttpStatusCodeException extends RestClientResponseException
| Constructor and Description | 
|---|
UnknownHttpStatusCodeException(int rawStatusCode,
                              String statusText,
                              HttpHeaders responseHeaders,
                              byte[] responseBody,
                              Charset responseCharset)
Construct a new instance of  
HttpStatusCodeException based on an
 HttpStatus, status text, and response body content. | 
getRawStatusCode, getResponseBodyAsByteArray, getResponseBodyAsString, getResponseHeaders, getStatusTextcontains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UnknownHttpStatusCodeException(int rawStatusCode,
                                      String statusText,
                                      HttpHeaders responseHeaders,
                                      byte[] responseBody,
                                      Charset responseCharset)
HttpStatusCodeException based on an
 HttpStatus, status text, and response body content.rawStatusCode - the raw status code valuestatusText - the status textresponseHeaders - the response headers, may be nullresponseBody - the response body content, may be nullresponseCharset - the response body charset, may be null