diff options
author | varun gudisena <vg411h@att.com> | 2017-12-06 16:00:04 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-12-06 16:00:04 +0000 |
commit | f53b6782649185b0b447ce0d52baf3bb0fdf0d2b (patch) | |
tree | 54ed7de8cd2b85932566d2f99b7641b72c4e4f58 | |
parent | 6fb1b5e49ec04b767e4294360f4b50e2224d4a7e (diff) | |
parent | 769561b8cde2d22f7becaedfa9bf5190fb0b5b48 (diff) |
Merge "sonar critical for handling a caught exception"
-rw-r--r-- | src/main/java/com/att/nsa/mr/test/clients/SampleConsumer.java | 1 |
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); } } } |