gradle-baseline
gradle-baseline copied to clipboard
[do not merge] Migrate WebApplicationExceptions to ServiceException
Is gradle-baseline the right place for this type of check?
It would be dangerous to recommend making this migration on all projects, as it would be problematic for any project using a jaxrs implementation (jersey, resteasy) without a registered conjure runtime.
==COMMIT_MSG== Migrate WebApplicationExceptions to ServiceException ==COMMIT_MSG==
Generate changelog in changelog/@unreleased
changelog/@unreleasedType
- [ ] Feature
- [X] Improvement
- [ ] Fix
- [ ] Break
- [ ] Deprecation
- [ ] Manual task
- [ ] Migration
Description
PreferConjureExceptions error prone checker which is OFF by default to avoid flagging projects which do not use conjure infrastructure. This check can be leveraged to automatically migrate away from common jax-rs exceptions to conjure equivalents.
Check the box to generate changelog(s)
- [X] Generate changelog entry
This PR has been automatically marked as stale because it has not been touched in the last 14 days. If you'd like to keep it open, please leave a comment or add the 'long-lived' label, otherwise it'll be closed in 7 days.