No implementation uses the ability to throw here, disallow it in API contract.
Change-Id: I8560e60a7cab06f221ff7382f9c205d967efcfe5
Signed-off-by: Robert Varga <rovarga@cisco.com>
}
}
- @Override public void close() throws Exception {
+ @Override
+ public void close() {
stopElection();
}
}
}
@Override
- public void close() throws Exception {
+ public void close() {
stopElection();
}
* @return The new behavior
*/
RaftActorBehavior switchBehavior(RaftActorBehavior behavior);
+
+ @Override
+ void close();
}