summaryrefslogtreecommitdiffstats
path: root/appc-config
diff options
context:
space:
mode:
authorSudarshan Kumar <sudars19@in.ibm.com>2019-02-15 15:48:06 +0530
committerTakamune Cho <takamune.cho@att.com>2019-02-20 14:27:14 +0000
commitb4e87419be03d2868a3860043f490977f2027fc2 (patch)
tree4176b373205328c4e0fb3ca36423e76afa2f3ad6 /appc-config
parent8c2f5d63afb72898a8fd1d8d138f62899a189d8b (diff)
Sonar Fix: Removed printStacktrace
Sonar Fix: Removed printStacktrace Issue-ID: APPC-1399 Change-Id: I0d33fac270a2082cc7b284c2df8e47fbf5b139a9 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
Diffstat (limited to 'appc-config')
-rw-r--r--appc-config/appc-config-audit/provider/src/main/java/org/onap/sdnc/config/audit/node/CompareXmlData.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/appc-config/appc-config-audit/provider/src/main/java/org/onap/sdnc/config/audit/node/CompareXmlData.java b/appc-config/appc-config-audit/provider/src/main/java/org/onap/sdnc/config/audit/node/CompareXmlData.java
index 549537c11..e5e2b757f 100644
--- a/appc-config/appc-config-audit/provider/src/main/java/org/onap/sdnc/config/audit/node/CompareXmlData.java
+++ b/appc-config/appc-config-audit/provider/src/main/java/org/onap/sdnc/config/audit/node/CompareXmlData.java
@@ -5,7 +5,9 @@
* Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Copyright (C) 2017 Amdocs
- * =============================================================================
+ * ================================================================================
+ * Modifications Copyright (c) 2019 IBM
+ * ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@@ -97,12 +99,12 @@ public class CompareXmlData implements CompareDataInterface
}
catch(SAXException se)
{
- se.printStackTrace();
+ log.error("Exception caught", se);
throw new Exception(se.getMessage());
}
catch(Exception e)
{
- e.printStackTrace();
+ log.error("Exception caught", e);
throw new Exception(e.getMessage());
}
}