summaryrefslogtreecommitdiffstats
path: root/restapi-call-node/provider/src/main/java/org
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2017-09-21 14:45:41 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-21 14:45:41 +0000
commit89fa6ae72d5085295b917d48e6cbe0566ebe2fc7 (patch)
tree9e55ca27c85c262c65838e71f715deb7db752201 /restapi-call-node/provider/src/main/java/org
parente599a8ec658120298ed16a1e9e47e23c485cde6b (diff)
parent72e394582ceeb86e35d2c5cb34b244b38ae5659f (diff)
Merge "Refinements and test additions to XmlParser"
Diffstat (limited to 'restapi-call-node/provider/src/main/java/org')
-rw-r--r--restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/XmlParser.java2
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 7ef776da1..9aede5b7e 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();