Fix odlparent-3.0.0 checkstyle issues
[mdsal.git] / binding2 / mdsal-binding2-dom-codec / src / main / java / org / opendaylight / mdsal / binding / javav2 / dom / codec / impl / IdentifiableItemCodec.java
index c6e502dd8ada98191ea5f69557296af09f90d26d..88ff275b0d0ed3695a4e9a65f71cbe955c74df3b 100644 (file)
@@ -61,7 +61,7 @@ public final class IdentifiableItemCodec implements Codec<NodeIdentifierWithPred
         try {
             ctor = MethodHandles.publicLookup().unreflectConstructor(getConstructor(keyClass));
         } catch (final IllegalAccessException e) {
-            throw new IllegalArgumentException("Missing construct in class " + keyClass);
+            throw new IllegalArgumentException("Missing construct in class " + keyClass, e);
         }
         final MethodHandle inv = MethodHandles.spreadInvoker(ctor.type(), 0);
         this.ctorInvoker = inv.asType(inv.type().changeReturnType(Identifier.class));