Cleanup RuntimeException throws
[mdsal.git] / binding / mdsal-binding-dom-codec / src / main / java / org / opendaylight / mdsal / binding / dom / codec / impl / UnionValueOptionContext.java
index 6143f08ef59262eeb9bdd5c84e45e2676a2aecb2..ea78e8b17c79fd332441ae26ed52165a5e6182b2 100644 (file)
@@ -84,7 +84,7 @@ final class UnionValueOptionContext {
             return getter.invokeExact(input);
         } catch (Throwable e) {
             Throwables.throwIfUnchecked(e);
-            throw new RuntimeException(e);
+            throw new IllegalStateException(e);
         }
     }