public class UnknownHttpStatusCodeException extends RestClientResponseException
| Constructor and Description | 
|---|
| UnknownHttpStatusCodeException(int rawStatusCode,
                              String statusText,
                              HttpHeaders responseHeaders,
                              byte[] responseBody,
                              Charset responseCharset)Construct a new instance of  HttpStatusCodeExceptionbased on anHttpStatus, 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 null)responseBody - the response body content (may be null)responseCharset - the response body charset (may be null)