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=AWE97JSU-08if2a6yOTq&resolved=false&severities=CRITICAL
Location:
src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java
Line No-108

Change-Id: I6a2cd881b55e49dc05cd6160a04ba5389eae9c65
Issue-ID: DMAAP-379
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
diff --git a/src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java b/src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java
index 2bb4e73..b211695 100644
--- a/src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java
+++ b/src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java
@@ -105,7 +105,7 @@
 					return new MRSimplerBatchPublisher(fUrls, fTopic, fMaxBatchSize, fMaxBatchAgeMs, fCompress,
 							fAllowSelfSignedCerts, threadOccuranceTime);
 				} catch (MalformedURLException e) {
-					throw new RuntimeException(e);
+					throw new IllegalArgumentException(e);
 				}
 			} else {
 				try {