Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add method to register exception mappers from kiwi into new method in StandardExceptionMappers #480

Closed
sleberknight opened this issue Apr 30, 2024 · 0 comments · Fixed by #488
Assignees
Labels
new feature A new feature such as a new class, method, package, group of classes, etc.
Milestone

Comments

@sleberknight
Copy link
Member

Add a registerKiwiExceptionMappers method to StandardExceptionMappers which registers exception mappers defined in kiwi. Currently these include:

  • ConstraintViolationExceptionMapper
  • IllegalArgumentExceptionMapper
  • IllegalStateExceptionMapper
  • JaxrsExceptionMapper
  • NoSuchElementExceptionMapper
  • WebApplicationExceptionMapper
@sleberknight sleberknight added the new feature A new feature such as a new class, method, package, group of classes, etc. label Apr 30, 2024
@sleberknight sleberknight added this to the 3.6.0 milestone Apr 30, 2024
@sleberknight sleberknight self-assigned this Apr 30, 2024
sleberknight added a commit that referenced this issue May 1, 2024
* Add overloaded registerKiwiExceptionMappers methods to
  StandardExceptionMappers, one accepts Environment and the
  other accepts JerseyEnvironment.
* Refactor StandardExceptionMappers#register to call the
  new registerKiwiExceptionMappers method.
* Move call to disableDefaultExceptionMapperRegistration to the
  top of the #register method.
* Reorder calls to register exception mappers in alphabetical order

Closes #480
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature A new feature such as a new class, method, package, group of classes, etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant