diff options
author | 2017-09-21 14:45:41 +0000 | |
---|---|---|
committer | 2017-09-21 14:45:41 +0000 | |
commit | 89fa6ae72d5085295b917d48e6cbe0566ebe2fc7 (patch) | |
tree | 9e55ca27c85c262c65838e71f715deb7db752201 /restapi-call-node/provider/src/main/java/org/onap | |
parent | e599a8ec658120298ed16a1e9e47e23c485cde6b (diff) | |
parent | 72e394582ceeb86e35d2c5cb34b244b38ae5659f (diff) |
Merge "Refinements and test additions to XmlParser"
Diffstat (limited to 'restapi-call-node/provider/src/main/java/org/onap')
-rw-r--r-- | restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/XmlParser.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/XmlParser.java b/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/XmlParser.java index 7ef776da..9aede5b7 100644 --- a/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/XmlParser.java +++ b/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/XmlParser.java @@ -61,7 +61,7 @@ public final class XmlParser { SAXParser saxParser = factory.newSAXParser(); InputStream in = new ByteArrayInputStream(s.getBytes()); saxParser.parse(in, handler); - } catch (ParserConfigurationException | IOException | SAXException e) { + } catch (ParserConfigurationException | IOException | SAXException | NumberFormatException e) { throw new SvcLogicException("Unable to convert XML to properties" + e.getLocalizedMessage(), e); } return handler.getProperties(); |