Fix build error in ListMembers

Change-Id: I012da208946221685a8cb4e2f3f891fa2d7a8617
This commit is contained in:
Shawn Pearce 2013-02-22 13:49:40 -08:00
parent 2dc5edc071
commit cdcc88ddc4

View File

@ -23,6 +23,7 @@ import com.google.gerrit.common.errors.NoSuchGroupException;
import com.google.gerrit.extensions.restapi.AuthException;
import com.google.gerrit.extensions.restapi.BadRequestException;
import com.google.gerrit.extensions.restapi.ResourceConflictException;
import com.google.gerrit.extensions.restapi.ResourceNotFoundException;
import com.google.gerrit.extensions.restapi.RestReadView;
import com.google.gerrit.reviewdb.client.Account;
import com.google.gerrit.reviewdb.client.AccountGroup;
@ -63,7 +64,7 @@ public class ListMembers implements RestReadView<GroupResource> {
@Override
public List<MemberInfo> apply(final GroupResource resource)
throws AuthException, BadRequestException, ResourceConflictException,
Exception {
ResourceNotFoundException, Exception {
if (resource.toAccountGroup() == null) {
throw new ResourceNotFoundException(resource.getGroupUUID().get());
}