Change RTE to an ISE
[controller.git] / opendaylight / md-sal / sal-akka-raft-example / src / main / java / org / opendaylight / controller / cluster / example / ExampleActor.java
index 17d6f980cd3d1836b763f160186e7acdb1b7f54a..50eda52aeaa6b76bc2a6716f53b790d9a8f2f8c5 100644 (file)
@@ -202,7 +202,7 @@ public class ExampleActor extends RaftActor implements RaftActorRecoveryCohort,
         try {
             return new MapState((Map<String, String>) SerializationUtils.deserialize(snapshotBytes.read()));
         } catch (IOException e) {
-            throw new RuntimeException(e);
+            throw new IllegalStateException(e);
         }
     }