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>
try {
return (Status) statusReader.invoke(response);
} catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException e) {
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);