Sonar critical issues
[dmaap/messagerouter/dmaapclient.git] / src / main / java / com / att / nsa / mr / client / impl / MRSimplerBatchPublisher.java
index 2bb4e73..b211695 100644 (file)
@@ -105,7 +105,7 @@ public class MRSimplerBatchPublisher extends MRBaseClient implements MRBatchingP
                                        return new MRSimplerBatchPublisher(fUrls, fTopic, fMaxBatchSize, fMaxBatchAgeMs, fCompress,
                                                        fAllowSelfSignedCerts, threadOccuranceTime);
                                } catch (MalformedURLException e) {
-                                       throw new RuntimeException(e);
+                                       throw new IllegalArgumentException(e);
                                }
                        } else {
                                try {