v3.1.3
ErrorProne: Fix UnusedException errors

When the UnusedException check is enabled, the build fails with:

  [UnusedException] This catch block catches an symbol and re-throws
  another, but swallows the caught symbol rather than setting it as a
  cause. This can make debugging harder.

Fix it by setting the caught exception as cause on the subsequently
thrown exception.

Note: The grammatically incorrect error message is copy-pasted as-is
from the version of ErrorProne currently used in Bazel; it has been
fixed by [1] in the latest version.

[1] https://github.com/google/error-prone/commit/d57a39c

Change-Id: I0139249b992e70e47db1f8213dbc8ce80c445128
4 files changed
tree: 0e72072f31c1582f935e25c93f8ac64872ff5c59
  1. gr-delete-repo/
  2. src/
  3. .bazelignore
  4. .gitignore
  5. BUILD
  6. LICENSE
  7. plugin.html
  8. README.md
README.md

Delete project plugin for Gerrit Code Review

A plugin which allows projects to be deleted from Gerrit via an SSH command, REST API or the Project settings screen.

Build Status