diff options
author | Thugutla Sailakshmi <tsaila10@in.ibm.com> | 2019-07-31 20:54:03 +0530 |
---|---|---|
committer | Takamune Cho <takamune.cho@att.com> | 2019-08-19 13:10:05 +0000 |
commit | 1eeaac9181f1215316c556b7595b57a315ec5041 (patch) | |
tree | fed8455326054df634fb7178278834ff7fdf1611 /appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle | |
parent | f074f41f1f4e888660f147d4d19f992ad2d71ddb (diff) |
APPC-1681- remove the thrown exception 'org.json.JSONException' which is a runtime exception.
remove the thrown exception
Issue-ID: APPC-1681
Change-Id: I940a5dd42bfe7a52b39be81a016cf4cf47805cae
Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
Diffstat (limited to 'appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle')
-rw-r--r-- | appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle/src/main/java/org/onap/appc/adapter/chef/impl/ChefAdapterImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle/src/main/java/org/onap/appc/adapter/chef/impl/ChefAdapterImpl.java b/appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle/src/main/java/org/onap/appc/adapter/chef/impl/ChefAdapterImpl.java index 6a8664acb..e2c797b3b 100644 --- a/appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle/src/main/java/org/onap/appc/adapter/chef/impl/ChefAdapterImpl.java +++ b/appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle/src/main/java/org/onap/appc/adapter/chef/impl/ChefAdapterImpl.java @@ -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"); |