Skip to content

Don't wrap runtime exceptions with another RuntimeException #29

@longtimeago

Description

@longtimeago

We've found the lib very useful, thanks for it!
Unfortunately, there is one thing which prevents it to be used with org.springframework.web.bind.annotation.ControllerAdvice exception handling contrroller from spring-mvc
Every time the lib catchers exception it wraps the exception with RuntimeException.

Would it be better to wrap only checked exceptions and propagate unckecked as they are?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions