Fix Blocker/Critical sonar issues 57/13457/1
authorshashikanth <shashikanth.vh@huawei.com>
Tue, 19 Sep 2017 12:27:36 +0000 (17:57 +0530)
committershashikanth <shashikanth.vh@huawei.com>
Tue, 19 Sep 2017 12:27:36 +0000 (17:57 +0530)
Fix Blocker/Critical sonar issues in so module
https://sonar.onap.org/component_issues?id=org.openecomp.so%3Aso#resolved=false|severities=CRITICAL

Fixed String with no format specifiers

Issue-Id:SO-118
Change-Id: Ie5257d1a01a9c2e6cf25a453a4c602376a69a396
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/client/appc/ApplicationControllerSupport.java

index c0f1a20..3b70891 100644 (file)
@@ -108,7 +108,7 @@ public class ApplicationControllerSupport {
                        try {
                                return (Status) statusReader.invoke(response);
                        } catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException e) {
-                               throw new RuntimeException(String.format("Unable to obtain status from LCM Kit response", e));
+                               throw new RuntimeException(String.format("Unable to obtain status from LCM Kit response"), e);
                        }
                }
                return new Status();