Remove unused exceptions
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / sharding / CDSShardAccessImpl.java
index bc90716af7024a9bbe7323f8aa485ebd05f249e8..da328566a040bb6797f41a7536afe60233c692d7 100644 (file)
@@ -116,7 +116,7 @@ final class CDSShardAccessImpl implements CDSShardAccess, LeaderLocationListener
         final scala.concurrent.Promise<Object> makeLeaderLocalAsk = Futures.promise();
         localShardReply.onComplete(new OnComplete<ActorRef>() {
             @Override
-            public void onComplete(final Throwable failure, final ActorRef actorRef) throws Throwable {
+            public void onComplete(final Throwable failure, final ActorRef actorRef) {
                 if (failure instanceof LocalShardNotFoundException) {
                     LOG.debug("No local shard found for {} - Cannot request leadership transfer to local shard.",
                             getShardIdentifier(), failure);