APPC-1681- remove the thrown exception 'org.json.JSONException' which is a runtime... 78/92378/2
authorThugutla Sailakshmi <tsaila10@in.ibm.com>
Wed, 31 Jul 2019 15:24:03 +0000 (20:54 +0530)
committerTakamune Cho <takamune.cho@att.com>
Mon, 19 Aug 2019 13:10:05 +0000 (13:10 +0000)
remove the thrown exception

Issue-ID: APPC-1681
Change-Id: I940a5dd42bfe7a52b39be81a016cf4cf47805cae
Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle/src/main/java/org/onap/appc/adapter/chef/impl/ChefAdapterImpl.java

index 6a8664a..e2c797b 100644 (file)
@@ -597,7 +597,7 @@ public class ChefAdapterImpl implements ChefAdapter {
         }
     }
 
-    private Boolean hasFailedNode(String message) throws JSONException {
+    private Boolean hasFailedNode(String message)  {
         try {   
             JSONObject messageJson = new JSONObject(message);
             JSONObject node = messageJson.getJSONObject("nodes");