Cleanup RuntimeException throws
[mdsal.git] / binding / mdsal-binding-dom-adapter / src / main / java / org / opendaylight / mdsal / binding / dom / adapter / invoke / RpcMethodInvokerWithoutInput.java
index 03bc92cee6bbeaecd13bc4c3fd7266cebff1fc70..cb5c001302a40193d696c645555831e5b2b70375 100644 (file)
@@ -32,7 +32,7 @@ class RpcMethodInvokerWithoutInput extends RpcMethodInvoker {
             return (ListenableFuture<RpcResult<?>>) handle.invokeExact(impl);
         } catch (Throwable e) {
             Throwables.throwIfUnchecked(e);
-            throw new RuntimeException(e);
+            throw new IllegalStateException(e);
         }
     }
 }
\ No newline at end of file