Remove redundant exception declarations
[openflowplugin.git] / openflowplugin-impl / src / test / java / org / opendaylight / openflowplugin / impl / device / initialization / DeviceInitializerProviderTest.java
index fe94f681dbe1419315517b935c7c5b3ad4d2b4e7..a3c2bdddea7eb95fc1601ac4a1ad92759fd8fda0 100644 (file)
@@ -26,12 +26,12 @@ public class DeviceInitializerProviderTest {
     private DeviceInitializerProvider provider;
 
     @Before
-    public void setUp() throws Exception {
+    public void setUp() {
         provider = new DeviceInitializerProvider();
     }
 
     @Test
-    public void register() throws Exception {
+    public void register() {
         provider.register(OFConstants.OFP_VERSION_1_3, abstractDeviceInitializer);
         final Optional<AbstractDeviceInitializer> lookup = provider.lookup(OFConstants.OFP_VERSION_1_3);
         assertTrue(lookup.isPresent());
@@ -39,7 +39,7 @@ public class DeviceInitializerProviderTest {
     }
 
     @Test
-    public void lookup() throws Exception {
+    public void lookup() {
         assertFalse(provider.lookup(OFConstants.OFP_VERSION_1_0).isPresent());
     }