Please check usage of ResourceAccessException vs. RestClientException wrapping IOException in DefaultRestClient #33464
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: waiting-for-feedback
We need additional information before we can continue
status: waiting-for-triage
An issue we've not yet triaged or decided on
Affects: spring web 6.1.11
it's not really clear when a
ResourceAccessException
(wrapping anIOException
) or its base classRestClientException
(which can also wrap anIOException
) is thrown inorg.springframework.web.client.DefaultRestClient
.eg.
when calling
responseWrapper.hasEmptyMessageBody()
inreadWithMessageConverters
and thegetBody()
call to an underlyingReactorNettyClientResponse
does timeout (wrapped into an IOException) - i would expect aResourceAccessException
.from stacktrace:
The text was updated successfully, but these errors were encountered: