Remove unneeded exception declarations from REST handlers

Change-Id: I75a166d332aa153843fa363f9f54002e15f448bb
This commit is contained in:
David Ostrovsky
2015-10-10 10:10:23 +02:00
parent 6692661def
commit fb1ede5305
18 changed files with 29 additions and 52 deletions

View File

@@ -40,7 +40,6 @@ import com.google.inject.Inject;
import com.google.inject.Provider;
import com.google.inject.Singleton;
import java.io.IOException;
import java.util.Collections;
@Singleton
@@ -69,8 +68,7 @@ public class PutTopic implements RestModifyView<ChangeResource, Input>,
@Override
public Response<String> apply(ChangeResource req, Input input)
throws AuthException, UpdateException, RestApiException, OrmException,
IOException {
throws UpdateException, RestApiException {
ChangeControl ctl = req.getControl();
if (!ctl.canEditTopicName()) {
throw new AuthException("changing topic not permitted");