Cleanup RuntimeException throws
[mdsal.git] / binding / mdsal-binding-dom-codec / src / main / java / org / opendaylight / mdsal / binding / dom / codec / impl / ValueContext.java
index 9c2ae02c397c529adad2aace2ef780c6638fc64b..bc621f1212400cc0285e0a971da5a9f7ddf028cc 100644 (file)
@@ -40,7 +40,7 @@ final class ValueContext {
             value = getter.invokeExact(obj);
         } catch (Throwable e) {
             Throwables.throwIfUnchecked(e);
-            throw new RuntimeException(e);
+            throw new IllegalStateException(e);
         }
 
         Preconditions.checkArgument(value != null,