Do not allow RaftActorBehavior.close() to throw Exception
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / main / java / org / opendaylight / controller / cluster / raft / behaviors / Candidate.java
index 612c327aeb054dd1cacb8a74a82861ede3f3ef0d..72e8e8c2a70b50ed5022b392918bbadc58697eba 100644 (file)
@@ -192,7 +192,8 @@ public class Candidate extends AbstractRaftActorBehavior {
         }
     }
 
-    @Override public void close() throws Exception {
+    @Override
+    public void close() {
         stopElection();
     }
 }