aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/att
diff options
context:
space:
mode:
authorSurendra Reddy Katam <SK00524980@techmahindra.com>2018-04-03 15:20:54 +0530
committerSurendra Reddy Katam <SK00524980@techmahindra.com>2018-04-03 15:20:54 +0530
commit6aa592dfc99e012feced5e7b696513a6d18687e7 (patch)
tree8a282e5d28f8440f7346c6b839633f6274527735 /src/main/java/com/att
parenta66e91cda6b728ba04250cffd3b5ed364cf1e666 (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-MbQp32hFUzlqc5Z2&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/impl/MRConstants.java Line No-47 Change-Id: If4112c62ebae83b70d6a6c657c07376738838af3 Issue-ID: DMAAP-381 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
Diffstat (limited to 'src/main/java/com/att')
-rw-r--r--src/main/java/com/att/nsa/mr/client/impl/MRConstants.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/mr/client/impl/MRConstants.java b/src/main/java/com/att/nsa/mr/client/impl/MRConstants.java
index 08aaa78..cb0fc31 100644
--- a/src/main/java/com/att/nsa/mr/client/impl/MRConstants.java
+++ b/src/main/java/com/att/nsa/mr/client/impl/MRConstants.java
@@ -44,7 +44,7 @@ class MRConstants
}
catch ( UnsupportedEncodingException e )
{
- throw new RuntimeException ( e );
+ throw new IllegalArgumentException(e);
}
}