diff options
author | 2018-04-09 18:08:49 +0530 | |
---|---|---|
committer | 2018-04-09 18:08:49 +0530 | |
commit | 5c79c5b99c0e5b94084627efaecdfe2691492019 (patch) | |
tree | 418960656925c4c6b007d5377157323b002d695c /src/main/java/com/att/nsa/mr/test/clients | |
parent | bc1cad19ab499422b902bf8a2ee2c9900c03e906 (diff) |
Sonar critical issues
Define and throw a dedicated exception instead of using a generic one
Sonar Link:
https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbUC32hFUzlqc5gx&resolved=false&severities=CRITICAL
Location:
src/main/java/com/att/nsa/mr/test/clients/SimpleExamplePublisherWithResponse.java
Line No-64
Change-Id: Ifc25038de09c95af253e40baa946a4aca9af66fb
Issue-ID: DMAAP-397
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
Diffstat (limited to 'src/main/java/com/att/nsa/mr/test/clients')
-rw-r--r-- | src/main/java/com/att/nsa/mr/test/clients/SimpleExamplePublisherWithResponse.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/mr/test/clients/SimpleExamplePublisherWithResponse.java b/src/main/java/com/att/nsa/mr/test/clients/SimpleExamplePublisherWithResponse.java index 4914688..9d179b2 100644 --- a/src/main/java/com/att/nsa/mr/test/clients/SimpleExamplePublisherWithResponse.java +++ b/src/main/java/com/att/nsa/mr/test/clients/SimpleExamplePublisherWithResponse.java @@ -61,7 +61,7 @@ import com.att.nsa.mr.client.response.MRPublisherResponse; } } - public void publishMessage ( String producerFilePath , int count ) throws IOException, InterruptedException, Exception + public void publishMessage ( String producerFilePath , int count ) throws IOException, InterruptedException { // create our publisher final MRBatchingPublisher pub = MRClientFactory.createBatchingPublisher (producerFilePath,true); |