summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSnigdha Sucharita Patra <sp00503415@techmahindra.com>2018-04-17 12:55:33 +0530
committerSnigdha Sucharita Patra <sp00503415@techmahindra.com>2018-04-17 12:55:33 +0530
commitcd6c98da01913abc6fc8ae3dbe75e34797efb28f (patch)
tree5513f8835a545b95a8d4089c22546d683fb4a27f
parenta66263e8224a595fb59676210b9f07f2d273648f (diff)
sonar issue for ConfigTool.java
Exception handlers should preserve the original exceptions sonar Link: https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1&open=AV5hThD632hFUzlqeS4h&resolved=false&severities=CRITICAL location: src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java Line No-288 Change-Id: Id329fed6fb09461a16807684e53097de8213c456 Issue-ID: DMAAP-416 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
-rw-r--r--src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java b/src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java
index d85662f..d71182c 100644
--- a/src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java
+++ b/src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java
@@ -287,7 +287,7 @@ public class ConfigTool extends CommandLineTool<ConfigToolContext>
}
catch ( ConfigDbException e )
{
- out.println ( "Command failed: " + e.getMessage () );
+ out.println ( "Command failed: " + e);
}
}