gradle-baseline icon indicating copy to clipboard operation
gradle-baseline copied to clipboard

[do not merge] Migrate WebApplicationExceptions to ServiceException

Open carterkozak opened this issue 6 years ago • 2 comments

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==

carterkozak avatar Oct 20 '19 22:10 carterkozak

Generate changelog in changelog/@unreleased

Type

  • [ ] Feature
  • [X] Improvement
  • [ ] Fix
  • [ ] Break
  • [ ] Deprecation
  • [ ] Manual task
  • [ ] Migration

Description Implement 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

changelog-app[bot] avatar Oct 20 '19 22:10 changelog-app[bot]

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.

stale[bot] avatar Nov 04 '19 14:11 stale[bot]