Change RTE to an ISE
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / persisted / SkipTransactionsPayload.java
index ec6e227a75a91bf672fb081a796c381b14754b48..70daab692a80b77ceb86051f86740c1676d1a550 100644 (file)
@@ -77,7 +77,7 @@ public final class SkipTransactionsPayload extends AbstractIdentifiablePayload<L
         } catch (IOException e) {
             // This should never happen
             LOG.error("Failed to serialize {} ids {}", historyId, transactionIds, e);
-            throw new RuntimeException("Failed to serialize " + historyId + " ids " + transactionIds, e);
+            throw new IllegalStateException("Failed to serialize " + historyId + " ids " + transactionIds, e);
         }
 
         return new SkipTransactionsPayload(historyId, out.toByteArray(), transactionIds);