From 6c34983dce34c834e42eb6e5bf9ca5a137f29cce Mon Sep 17 00:00:00 2001 From: amshegokar Date: Mon, 18 Sep 2017 12:14:28 +0530 Subject: Sonar Blocker Sonar Blocker for appc client-simulator Change-Id: Ia7c4d115e2fcbd29eb132791958286b097118431 Issue-ID: APPC-210 Signed-off-by: amshegokar --- .../org/openecomp/appc/simulator/client/impl/JsonRequestHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'appc-client/client-simulator') diff --git a/appc-client/client-simulator/src/main/java/org/openecomp/appc/simulator/client/impl/JsonRequestHandler.java b/appc-client/client-simulator/src/main/java/org/openecomp/appc/simulator/client/impl/JsonRequestHandler.java index de1a2055b..112932224 100644 --- a/appc-client/client-simulator/src/main/java/org/openecomp/appc/simulator/client/impl/JsonRequestHandler.java +++ b/appc-client/client-simulator/src/main/java/org/openecomp/appc/simulator/client/impl/JsonRequestHandler.java @@ -151,7 +151,7 @@ public class JsonRequestHandler implements RequestHandler { if ((mode % 2) == 0) { return modeT.SYNCH; } - }catch (Throwable ex) { + }catch (Exception ex) { //use ASYNC as default, if value is not integer. } return modeT.ASYNCH; -- cgit 1.2.3-korg