Fix in AuditOXM 59/29659/1
authorburdziak <olaf.burdziakowski@nokia.com>
Tue, 30 Jan 2018 14:10:41 +0000 (15:10 +0100)
committerburdziak <olaf.burdziakowski@nokia.com>
Tue, 30 Jan 2018 14:11:46 +0000 (15:11 +0100)
Change-Id: I625e40de92f1ac71113b56bf330c18041164551e
Issue-ID: AAI-707
Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
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");