Skip to content

Confusing javadoc in RestClientException #24288

@iNikem

Description

@iNikem

The javadoc for RestClientException says (emphasise is mine):

Base class for exceptions thrown by {@link RestTemplate} whenever it encounters client-side HTTP errors

But one of its subclasses is HttpServerErrorException, so clearly RestClientException signals both client- and server-side errors.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: taskA general task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions