aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com
diff options
context:
space:
mode:
authorvarun gudisena <vg411h@att.com>2017-12-06 16:00:04 +0000
committerGerrit Code Review <gerrit@onap.org>2017-12-06 16:00:04 +0000
commitf53b6782649185b0b447ce0d52baf3bb0fdf0d2b (patch)
tree54ed7de8cd2b85932566d2f99b7641b72c4e4f58 /src/main/java/com
parent6fb1b5e49ec04b767e4294360f4b50e2224d4a7e (diff)
parent769561b8cde2d22f7becaedfa9bf5190fb0b5b48 (diff)
Merge "sonar critical for handling a caught exception"
Diffstat (limited to 'src/main/java/com')
-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);
}
}
}