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

@ -93,7 +93,7 @@ public class CreateCreditCommandTest extends CommandTestCase<CreateCreditCommand
}
@Test
public void testFailure_nonexistentParentRegistrar() throws Exception {
public void testFailure_nonexistentParentRegistrar() {
IllegalArgumentException thrown =
assertThrows(
IllegalArgumentException.class,
@ -108,7 +108,7 @@ public class CreateCreditCommandTest extends CommandTestCase<CreateCreditCommand
}
@Test
public void testFailure_nonexistentTld() throws Exception {
public void testFailure_nonexistentTld() {
IllegalArgumentException thrown =
assertThrows(
IllegalArgumentException.class,
@ -123,7 +123,7 @@ public class CreateCreditCommandTest extends CommandTestCase<CreateCreditCommand
}
@Test
public void testFailure_nonexistentType() throws Exception {
public void testFailure_nonexistentType() {
ParameterException thrown =
assertThrows(
ParameterException.class,
@ -138,7 +138,7 @@ public class CreateCreditCommandTest extends CommandTestCase<CreateCreditCommand
}
@Test
public void testFailure_negativeBalance() throws Exception {
public void testFailure_negativeBalance() {
IllegalArgumentException thrown =
assertThrows(
IllegalArgumentException.class,
@ -153,7 +153,7 @@ public class CreateCreditCommandTest extends CommandTestCase<CreateCreditCommand
}
@Test
public void testFailure_noRegistrar() throws Exception {
public void testFailure_noRegistrar() {
ParameterException thrown =
assertThrows(
ParameterException.class,
@ -167,7 +167,7 @@ public class CreateCreditCommandTest extends CommandTestCase<CreateCreditCommand
}
@Test
public void testFailure_noType() throws Exception {
public void testFailure_noType() {
ParameterException thrown =
assertThrows(
ParameterException.class,
@ -181,7 +181,7 @@ public class CreateCreditCommandTest extends CommandTestCase<CreateCreditCommand
}
@Test
public void testFailure_noTld() throws Exception {
public void testFailure_noTld() {
ParameterException thrown =
assertThrows(
ParameterException.class,
@ -195,7 +195,7 @@ public class CreateCreditCommandTest extends CommandTestCase<CreateCreditCommand
}
@Test
public void testFailure_noBalance() throws Exception {
public void testFailure_noBalance() {
ParameterException thrown =
assertThrows(
ParameterException.class,
@ -209,7 +209,7 @@ public class CreateCreditCommandTest extends CommandTestCase<CreateCreditCommand
}
@Test
public void testFailure_noEffectiveTime() throws Exception {
public void testFailure_noEffectiveTime() {
ParameterException thrown =
assertThrows(
ParameterException.class,