Get rid of CheckedFutures
[mdsal.git] / binding2 / mdsal-binding2-dom-adapter / src / main / java / org / opendaylight / mdsal / binding / javav2 / dom / adapter / impl / notification / NotificationListenerInvoker.java
index 511660f9ec679ed3ff05656928beb42ee894d25e..8156d8d891fe429a48e873ae27eaa2f3b75f28f5 100644 (file)
@@ -120,7 +120,8 @@ public final class NotificationListenerInvoker {
         try {
             invoker.invokeExact(impl, input);
         } catch (final Throwable e) {
-            throw Throwables.propagate(e);
+            Throwables.throwIfUnchecked(e);
+            throw new RuntimeException(e);
         }
     }
 }