Remove unused exceptions
[controller.git] / opendaylight / md-sal / cds-access-client / src / test / java / org / opendaylight / controller / cluster / access / client / MockedSnapshotStore.java
index 0071a0b24b6eb73fde9b0d7c6e01444c64d568f2..3e26ae92cdc50ad1f5d0e6b540780e17d6696bc5 100644 (file)
@@ -76,7 +76,7 @@ class MockedSnapshotStore extends SnapshotStore {
         final Promise<T> promise = new scala.concurrent.impl.Promise.DefaultPromise<>();
         future.onComplete(new OnComplete<Object>() {
             @Override
-            public void onComplete(final Throwable failure, final Object success) throws Throwable {
+            public void onComplete(final Throwable failure, final Object success) {
                 if (success instanceof Throwable) {
                     promise.failure((Throwable) success);
                     return;