-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: duplicateA duplicate of another issueA duplicate of another issuetype: enhancementA general enhancementA general enhancement
Description
Eugen Paraschiv opened SPR-8124 and commented
The fact that a method annotated with @ExceptionHandler can only handle exceptions from the same controller is a restrictive issue. The better behavior would be if the annotated method would be able to handle all exceptions of that particular type, regardless of their source.
Issue Links:
- @ResponseBody usage limitations [SPR-7278] #11937
@ResponseBodyusage limitations ("duplicates") - Expose handler method when BindException is thrown from HandlerMethodInvoker [SPR-8178] #12829 Expose handler method when BindException is thrown from HandlerMethodInvoker ("is duplicated by")
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: duplicateA duplicate of another issueA duplicate of another issuetype: enhancementA general enhancementA general enhancement