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