X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-akka-raft-example%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fexample%2FExampleActor.java;fp=opendaylight%2Fmd-sal%2Fsal-akka-raft-example%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fexample%2FExampleActor.java;h=17d6f980cd3d1836b763f160186e7acdb1b7f54a;hp=5d2d17122516ae5bb3a108951aed7331d99c8cdf;hb=9c8276bd8fff1367dfb50400f71437602531c7a2;hpb=8a01ebe93fac21b1ae80dcfcc81c21543ec1a687 diff --git a/opendaylight/md-sal/sal-akka-raft-example/src/main/java/org/opendaylight/controller/cluster/example/ExampleActor.java b/opendaylight/md-sal/sal-akka-raft-example/src/main/java/org/opendaylight/controller/cluster/example/ExampleActor.java index 5d2d171225..17d6f980cd 100644 --- a/opendaylight/md-sal/sal-akka-raft-example/src/main/java/org/opendaylight/controller/cluster/example/ExampleActor.java +++ b/opendaylight/md-sal/sal-akka-raft-example/src/main/java/org/opendaylight/controller/cluster/example/ExampleActor.java @@ -9,7 +9,6 @@ package org.opendaylight.controller.cluster.example; import akka.actor.ActorRef; import akka.actor.Props; -import com.google.common.base.Throwables; import com.google.common.io.ByteSource; import java.io.IOException; import java.io.OutputStream; @@ -203,7 +202,7 @@ public class ExampleActor extends RaftActor implements RaftActorRecoveryCohort, try { return new MapState((Map) SerializationUtils.deserialize(snapshotBytes.read())); } catch (IOException e) { - throw Throwables.propagate(e); + throw new RuntimeException(e); } }