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

@ -125,7 +125,7 @@ public class DomainApplicationUpdateFlowTest
.build());
}
private Builder newApplicationBuilder() throws Exception {
private Builder newApplicationBuilder() {
return newDomainApplication("example.tld").asBuilder().setRepoId("1-TLD");
}
@ -430,7 +430,7 @@ public class DomainApplicationUpdateFlowTest
}
@Test
public void testFailure_wrongExtension() throws Exception {
public void testFailure_wrongExtension() {
setEppInput("domain_update_sunrise_wrong_extension.xml");
EppException thrown = assertThrows(UnimplementedExtensionException.class, this::runFlow);
assertAboutEppExceptions().that(thrown).marshalsToXml();
@ -908,7 +908,7 @@ public class DomainApplicationUpdateFlowTest
}
@Test
public void testFailure_customPricingLogic_feeMismatch() throws Exception {
public void testFailure_customPricingLogic_feeMismatch() {
persistReferencedEntities();
persistResource(
newDomainApplication("non-free-update.tld").asBuilder().setRepoId("1-ROID").build());