Skip to content

[REQ][Java][Microprofile] Make ApiExceptionManager optional #20751

@Munken

Description

@Munken

Is your feature request related to a problem? Please describe.

When generating a microprofile client it always generates an ApiExceptionManager.

Furthermore, this ApiExceptionManager is annotated with @Provider.
This makes it a global exception handler.
This is a bad thing.

Describe the solution you'd like

I propose that the @Provider annotation is removed.

In addition, I would suggest that the @RegisterProvider is made optional.

Describe alternatives you've considered

Additional context

@wing328

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions