aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSoumendu Sekhar Acharya <sa00498080@techmahindra.com>2017-12-04 11:49:54 +0530
committerSoumendu Sekhar Acharya <sa00498080@techmahindra.com>2017-12-04 11:53:48 +0530
commit769561b8cde2d22f7becaedfa9bf5190fb0b5b48 (patch)
tree45a8e2c1ce0cd440732f1876ae9a2840f3a322d3 /src
parente9d61735616b573ce7a2d66dc70dc882b2201017 (diff)
sonar critical for handling a caught exception
Either log or rethrow this exception Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient#assignees=soumendu Location: src/main/java/com/att/nsa/mr/test/clients/SampleConsumer.java Line No-81 Change-Id: I6005f83d74c9118d060bd4096bacfc8dd437af73 Issue-ID: DMAAP-173 Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/att/nsa/mr/test/clients/SampleConsumer.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/att/nsa/mr/test/clients/SampleConsumer.java b/src/main/java/com/att/nsa/mr/test/clients/SampleConsumer.java
index eac8b7f..290a071 100644
--- a/src/main/java/com/att/nsa/mr/test/clients/SampleConsumer.java
+++ b/src/main/java/com/att/nsa/mr/test/clients/SampleConsumer.java
@@ -81,6 +81,7 @@ public class SampleConsumer {
catch ( Exception x )
{
log.error( x.getClass().getName () + ": " + x.getMessage () );
+ throw new RuntimeException(x);
}
}
}