Remove unnecessary "throws" declarations

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=201058582
This commit is contained in:
mcilwain 2018-06-18 14:25:42 -07:00 committed by Ben McIlwain
parent a7256f5edd
commit 5d80f124ca
377 changed files with 2297 additions and 2373 deletions

View file

@ -172,7 +172,7 @@ public class DomainTransferRejectFlowTest
}
@Test
public void testFailure_notAuthorizedForTld() throws Exception {
public void testFailure_notAuthorizedForTld() {
persistResource(
loadRegistrar("TheRegistrar").asBuilder().setAllowedTlds(ImmutableSet.of()).build());
EppException thrown =
@ -193,7 +193,7 @@ public class DomainTransferRejectFlowTest
}
@Test
public void testFailure_badContactPassword() throws Exception {
public void testFailure_badContactPassword() {
// Change the contact's password so it does not match the password in the file.
contact =
persistResource(
@ -209,7 +209,7 @@ public class DomainTransferRejectFlowTest
}
@Test
public void testFailure_badDomainPassword() throws Exception {
public void testFailure_badDomainPassword() {
// Change the domain's password so it does not match the password in the file.
domain =
persistResource(
@ -225,7 +225,7 @@ public class DomainTransferRejectFlowTest
}
@Test
public void testFailure_neverBeenTransferred() throws Exception {
public void testFailure_neverBeenTransferred() {
changeTransferStatus(null);
EppException thrown =
assertThrows(
@ -234,7 +234,7 @@ public class DomainTransferRejectFlowTest
}
@Test
public void testFailure_clientApproved() throws Exception {
public void testFailure_clientApproved() {
changeTransferStatus(TransferStatus.CLIENT_APPROVED);
EppException thrown =
assertThrows(
@ -243,7 +243,7 @@ public class DomainTransferRejectFlowTest
}
@Test
public void testFailure_clientRejected() throws Exception {
public void testFailure_clientRejected() {
changeTransferStatus(TransferStatus.CLIENT_REJECTED);
EppException thrown =
assertThrows(
@ -252,7 +252,7 @@ public class DomainTransferRejectFlowTest
}
@Test
public void testFailure_clientCancelled() throws Exception {
public void testFailure_clientCancelled() {
changeTransferStatus(TransferStatus.CLIENT_CANCELLED);
EppException thrown =
assertThrows(
@ -261,7 +261,7 @@ public class DomainTransferRejectFlowTest
}
@Test
public void testFailure_serverApproved() throws Exception {
public void testFailure_serverApproved() {
changeTransferStatus(TransferStatus.SERVER_APPROVED);
EppException thrown =
assertThrows(
@ -270,7 +270,7 @@ public class DomainTransferRejectFlowTest
}
@Test
public void testFailure_serverCancelled() throws Exception {
public void testFailure_serverCancelled() {
changeTransferStatus(TransferStatus.SERVER_CANCELLED);
EppException thrown =
assertThrows(
@ -279,7 +279,7 @@ public class DomainTransferRejectFlowTest
}
@Test
public void testFailure_gainingClient() throws Exception {
public void testFailure_gainingClient() {
setClientIdForFlow("NewRegistrar");
EppException thrown =
assertThrows(
@ -288,7 +288,7 @@ public class DomainTransferRejectFlowTest
}
@Test
public void testFailure_unrelatedClient() throws Exception {
public void testFailure_unrelatedClient() {
setClientIdForFlow("ClientZ");
EppException thrown =
assertThrows(