Merge "Fix in AuditOXM"
authorJames Forsyth <jf2512@att.com>
Thu, 1 Feb 2018 17:27:47 +0000 (17:27 +0000)
committerGerrit Code Review <gerrit@onap.org>
Thu, 1 Feb 2018 17:27:47 +0000 (17:27 +0000)
aai-core/src/main/java/org/onap/aai/db/schema/AuditOXM.java

index 0a3650f..5ebfeb2 100644 (file)
@@ -106,15 +106,8 @@ public class AuditOXM extends Auditor {
                        for (int i = 0; i < list.getLength(); i++) {
                                result.add(list.item(i).getAttributes().getNamedItem("name").getNodeValue());
                        }
-               } catch (ParserConfigurationException e) {
-                       // TODO Auto-generated catch block
-                       e.printStackTrace();
-               } catch (SAXException e) {
-                       // TODO Auto-generated catch block
-                       e.printStackTrace();
-               } catch (IOException e) {
-                       // TODO Auto-generated catch block
-                       e.printStackTrace();
+               } catch (ParserConfigurationException | SAXException | IOException e) {
+                       LOGGER.error(e.getMessage());
                }
 
                result.remove("EdgePropNames");