Add new StandardExceptionMappers#register method that doesn't use reflection #479
Labels
new feature
A new feature such as a new class, method, package, group of classes, etc.
Milestone
Add
register(Environment)
method toStandardExceptionMappers
which does not use reflection to disable theregisterDefaultExceptionMappers
property. It has not been necessary to do that since Dropwizard 1.0.0 even though we missed it.Initially this method will be marked as
@Beta
so that it can be fully vetted in production usage.We will leave the existing
register(ServerFactory, Environment)
method as-is, and not deprecate it, so that applications can choose to whether to disable Dropwizard's default exception mappers.See #426 for background information.
The text was updated successfully, but these errors were encountered: