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

@ -53,7 +53,7 @@ public class ExtensionManagerTest {
.build();
@Test
public void testDuplicateExtensionsForbidden() throws Exception {
public void testDuplicateExtensionsForbidden() {
ExtensionManager manager =
new TestInstanceBuilder()
.setEppRequestSource(EppRequestSource.TOOL)
@ -90,7 +90,7 @@ public class ExtensionManagerTest {
}
@Test
public void testBlacklistedExtensions_forbiddenWhenUndeclared() throws Exception {
public void testBlacklistedExtensions_forbiddenWhenUndeclared() {
ExtensionManager manager =
new TestInstanceBuilder()
.setEppRequestSource(EppRequestSource.TOOL)
@ -128,7 +128,7 @@ public class ExtensionManagerTest {
}
@Test
public void testMetadataExtension_forbiddenWhenNotToolSource() throws Exception {
public void testMetadataExtension_forbiddenWhenNotToolSource() {
ExtensionManager manager =
new TestInstanceBuilder()
.setEppRequestSource(EppRequestSource.CONSOLE)
@ -154,7 +154,7 @@ public class ExtensionManagerTest {
}
@Test
public void testSuperuserExtension_forbiddenWhenNotSuperuser() throws Exception {
public void testSuperuserExtension_forbiddenWhenNotSuperuser() {
ExtensionManager manager =
new TestInstanceBuilder()
.setEppRequestSource(EppRequestSource.TOOL)
@ -169,7 +169,7 @@ public class ExtensionManagerTest {
}
@Test
public void testSuperuserExtension_forbiddenWhenNotToolSource() throws Exception {
public void testSuperuserExtension_forbiddenWhenNotToolSource() {
ExtensionManager manager =
new TestInstanceBuilder()
.setEppRequestSource(EppRequestSource.CONSOLE)
@ -184,7 +184,7 @@ public class ExtensionManagerTest {
}
@Test
public void testUnimplementedExtensionsForbidden() throws Exception {
public void testUnimplementedExtensionsForbidden() {
ExtensionManager manager =
new TestInstanceBuilder()
.setEppRequestSource(EppRequestSource.TOOL)