-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(web): Support @ResponseStatus on parent classes/interfaces (#87)
Previously the GenericExceptionHandler only looked for the @ResponseStatus annotation on the exception class itself. With this change set, the handler will look on the exception class _as well as_ any implemented interfaces or super classes. An HTTP 500 will be returned iff no @ResponseStatus annotation is found.
- Loading branch information
Showing
2 changed files
with
68 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters