Fail with ConfigInvalidException if checker config contains invalid blocking conditions

If in a checker config file the blocking conditions contain a value
that cannot be resolved to a BlockingCondition enum we failed with an
IllegalArgumentException, but since this is an invalid config it's
better to throw ConfigInvalidException.

Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: If1b868d8b1f9288c2b94407a2556c8dce03e9b30
6 files changed
tree: 6e36bc80bc35866bb528eed4232c82012d5535a9
  1. gr-checks/
  2. java/
  3. javatests/
  4. src/
  5. BUILD
  6. LICENSE
  7. README.md
README.md

Gerrit Code Review Checks Plugin

This plugin provides a unified experience for checkers (CI systems, static analyzers, etc.) to integrate with Gerrit Code Review.