MediaTypeNotSupportedStatusException seems unused #24743
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
I am currently writing some code that wraps common Spring web exceptions.
I came across both
MediaTypeNotSupportedStatusException
andUnsupportedMediaTypeStatusException
. 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.
The text was updated successfully, but these errors were encountered: