Change RTE to an ISE
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / main / java / org / opendaylight / controller / cluster / raft / behaviors / LeaderInstallSnapshotState.java
index cc4caa32ebacc8511fd4ea610ea6af2af2e53bf4..e7c76bacbeaa539c2d91488a3c9b305f7dae04e1 100644 (file)
@@ -183,7 +183,7 @@ public final class LeaderInstallSnapshotState implements AutoCloseable {
         try {
             snapshotInputStream = snapshotBytes.openStream();
         } catch (IOException e) {
-            throw new RuntimeException(e);
+            throw new IllegalStateException(e);
         }
     }