Skip to content

Common exceptions for resource not found, redirection, noContent etc... [SPR-11552] #16177

Closed
@spring-projects-issues

Description

@spring-projects-issues

cemo koc opened SPR-11552 and commented

In our codebase we are using some convenient exceptions for resource not found, redirection (302/301) and noContent...

It would be nice to have such kind of exceptions in spring. :)

Edit: I forgot to say that we are providing necessary mapping as well. For example a ResourceNotFoundException returns a 404 to client.


Affects: 3.2.8, 4.0.2

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions