Adapt to change in Gerrit core

With change I89c0c68bf Response#value() is now throwing Exception which
needs to be handled.

Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: Ib24bab74c85dfd9ef9289c1979507d1acd0a1b55
diff --git a/java/com/google/gerrit/plugins/checks/api/QueryPendingChecks.java b/java/com/google/gerrit/plugins/checks/api/QueryPendingChecks.java
index 870cd61..7c0647e 100644
--- a/java/com/google/gerrit/plugins/checks/api/QueryPendingChecks.java
+++ b/java/com/google/gerrit/plugins/checks/api/QueryPendingChecks.java
@@ -80,8 +80,7 @@
     this.checkerQueryProvider = checkerQueryProvider;
   }
 
-  public List<PendingChecksInfo> apply()
-      throws RestApiException, IOException, ConfigInvalidException, StorageException {
+  public List<PendingChecksInfo> apply() throws Exception {
     return apply(TopLevelResource.INSTANCE).value();
   }