Remove unused exceptions
[controller.git] / opendaylight / md-sal / sal-inmemory-datastore / src / test / java / org / opendaylight / controller / md / sal / dom / store / impl / InMemoryDataStoreTest.java
index 72e06d63a81b32dde1bf5592d9076449d6faf9b3..4b80a1638511d55ba707ef89936f339b612767fb 100644 (file)
@@ -303,7 +303,7 @@ public class InMemoryDataStoreTest {
     }
 
     @Test(expected = IllegalStateException.class)
-    public void testWriteWithTransactionReady() throws Exception {
+    public void testWriteWithTransactionReady() {
 
         DOMStoreWriteTransaction writeTx = domStore.newWriteOnlyTransaction();
 
@@ -314,7 +314,7 @@ public class InMemoryDataStoreTest {
     }
 
     @Test(expected = IllegalStateException.class)
-    public void testReadyWithTransactionAlreadyReady() throws Exception {
+    public void testReadyWithTransactionAlreadyReady() {
 
         DOMStoreWriteTransaction writeTx = domStore.newWriteOnlyTransaction();