From 1eeaac9181f1215316c556b7595b57a315ec5041 Mon Sep 17 00:00:00 2001 From: Thugutla Sailakshmi Date: Wed, 31 Jul 2019 20:54:03 +0530 Subject: 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 --- .../src/main/java/org/onap/appc/adapter/chef/impl/ChefAdapterImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle/src') 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"); -- cgit 1.2.3-korg