Skip to content

GlobalExceptionHandler is needed #50823

Description

@jh-orz

As of my engineering practices, we mostly build a global exception handller to handle Java exceptions generally rather than specificly or seperately. In most cases, building this handler follows sequences that starts from bizExceptions to the throwables. In my opinion, spring boot and such backend framework should provide efficiency that programmers stay focused on the bizes instead of spring exception or runtime exceptions. I'd like to define such handlers with a notation and forget about self-contained exceptions, but, the ultimate implemrntation depends on you.

Truly, Jiang Hao

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: declinedA suggestion or change that we don't feel we should currently apply

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions