Adjust to yangtools-2.0.0/odlparent-3.0.0 changes
[netconf.git] / netconf / sal-netconf-connector / src / main / java / org / opendaylight / netconf / sal / connect / netconf / util / SchemalessRpcStructureTransformer.java
index 099d2f2dde991c7f7150d1cf57954e735ea48eba..28c69e72ab0857d8ef653ec7770c1ca15cb5a83d 100644 (file)
@@ -170,7 +170,7 @@ class SchemalessRpcStructureTransformer implements RpcStructureTransformer {
             try {
                 textContent = key.get(0).getTextContent();
             } catch (DocumentedException e) {
-                throw new IllegalStateException("Key value not present in key element");
+                throw new IllegalStateException("Key value not present in key element", e);
             }
             if (!keyValues.get(qualifiedName).equals(textContent)) {
                 throw new IllegalStateException("Key value in path not equal to key value in xml");