Remove StorageException from throws clauses

Change-Id: I48a0169293ddf766fbbd924cb310f9b8dacc58cf
This commit is contained in:
Dave Borowitz
2019-01-15 19:16:44 -08:00
parent a4fe999a75
commit bd856a44ba
386 changed files with 1022 additions and 1607 deletions

View File

@@ -14,7 +14,6 @@
package com.google.gerrit.server.restapi.change;
import com.google.gerrit.exceptions.StorageException;
import com.google.gerrit.extensions.api.changes.ReviewerInfo;
import com.google.gerrit.extensions.restapi.MethodNotAllowedException;
import com.google.gerrit.extensions.restapi.RestReadView;
@@ -47,7 +46,7 @@ class ListRevisionReviewers implements RestReadView<RevisionResource> {
@Override
public List<ReviewerInfo> apply(RevisionResource rsrc)
throws StorageException, MethodNotAllowedException, PermissionBackendException {
throws MethodNotAllowedException, PermissionBackendException {
if (!rsrc.isCurrent()) {
throw new MethodNotAllowedException("Cannot list reviewers on non-current patch set");
}