spring-framework / org.springframework.web.client / UnknownHttpStatusCodeException / <init>

<init>

UnknownHttpStatusCodeException(rawStatusCode: Int, statusText: String, @Nullable responseHeaders: HttpHeaders, @Nullable responseBody: ByteArray, @Nullable responseCharset: Charset)

Construct a new instance of HttpStatusCodeException based on an HttpStatus, status text, and response body content.

Parameters

rawStatusCode - the raw status code value

statusText - the status text

responseHeaders - the response headers (may be null)

responseBody - the response body content (may be null)

responseCharset - the response body charset (may be null)