diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2017-09-07 12:22:28 +0200 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2017-09-07 12:22:28 +0200 |
commit | 61ae76644a2d68823aaeabf4c0310c1717f52236 (patch) | |
tree | de07da73c868fc5bd00cba94fffde4bdb95144e7 /common/yang-whitelist | |
parent | 242a61de29d26eb2a47e95e0228ec72555f1a996 (diff) |
Fix Sonar error-handling issues
Change-Id: Iae8a7d27ed4ba778abe5bdbb937f55fa4d7a6638
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'common/yang-whitelist')
-rw-r--r-- | common/yang-whitelist/yang-whitelist-impl/src/main/java/io/fd/honeycomb/yang/YangModuleWhitelistWriter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/yang-whitelist/yang-whitelist-impl/src/main/java/io/fd/honeycomb/yang/YangModuleWhitelistWriter.java b/common/yang-whitelist/yang-whitelist-impl/src/main/java/io/fd/honeycomb/yang/YangModuleWhitelistWriter.java index d14b2428f..02bdfe122 100644 --- a/common/yang-whitelist/yang-whitelist-impl/src/main/java/io/fd/honeycomb/yang/YangModuleWhitelistWriter.java +++ b/common/yang-whitelist/yang-whitelist-impl/src/main/java/io/fd/honeycomb/yang/YangModuleWhitelistWriter.java @@ -66,7 +66,7 @@ public class YangModuleWhitelistWriter extends JAXBContextHolder { try { marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, value); } catch (PropertyException e) { - throw new IllegalStateException("Unable to setup pretty print"); + throw new IllegalStateException("Unable to setup pretty print", e); } } |