summaryrefslogtreecommitdiffstats
path: root/infra/test-utils/test-tools/src/main/java/io/fd/honeycomb/test/tools/YangDataProcessor.java
diff options
context:
space:
mode:
Diffstat (limited to 'infra/test-utils/test-tools/src/main/java/io/fd/honeycomb/test/tools/YangDataProcessor.java')
-rw-r--r--infra/test-utils/test-tools/src/main/java/io/fd/honeycomb/test/tools/YangDataProcessor.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/infra/test-utils/test-tools/src/main/java/io/fd/honeycomb/test/tools/YangDataProcessor.java b/infra/test-utils/test-tools/src/main/java/io/fd/honeycomb/test/tools/YangDataProcessor.java
index 7c04eac84..6722d01af 100644
--- a/infra/test-utils/test-tools/src/main/java/io/fd/honeycomb/test/tools/YangDataProcessor.java
+++ b/infra/test-utils/test-tools/src/main/java/io/fd/honeycomb/test/tools/YangDataProcessor.java
@@ -78,7 +78,7 @@ interface YangDataProcessor {
try {
parentInstanceId = serializer.toBinding(parentYangId);
} catch (DeserializationException e) {
- throw new IllegalArgumentException(String.format("Unable to deserialize %s", parentYangId));
+ throw new IllegalArgumentException(String.format("Unable to deserialize %s", parentYangId), e);
}
if (!parentInstanceId.isPresent()) {
@@ -108,7 +108,7 @@ interface YangDataProcessor {
throw new IllegalArgumentException(String.format("Unable to create node binding for %s|%s", identifier, data));
});
} catch (DeserializationException e) {
- throw new IllegalArgumentException(String.format("Unable to deserialize node %s|%s", identifier, data));
+ throw new IllegalArgumentException(String.format("Unable to deserialize node %s|%s", identifier, data), e);
}
}
@@ -121,7 +121,7 @@ interface YangDataProcessor {
throw new IllegalArgumentException(String.format("Unable convert %s to binding", identifier));
});
} catch (DeserializationException e) {
- throw new IllegalArgumentException(String.format("Unable to deserialize %s", identifier));
+ throw new IllegalArgumentException(String.format("Unable to deserialize %s", identifier), e);
}
}
}