Skip to content

MediaTypeNotSupportedStatusException seems unused #24743

@sagacity

Description

@sagacity

I am currently writing some code that wraps common Spring web exceptions.

I came across both MediaTypeNotSupportedStatusException and UnsupportedMediaTypeStatusException. They seem very similar, yet the former is never instantiated in any of Spring's code. Are they supposed to convey different exception semantics?

Anyway, it seems like this class was accidentally missed during a refactoring, or something. It feels like it could be removed.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions