Sonar critical issues
[dmaap/messagerouter/dmaapclient.git] / src / main / java / com / att / nsa / mr / client / MRClientFactory.java
index 496f94e..32b44e4 100644 (file)
@@ -562,7 +562,7 @@ public class MRClientFactory {
                try {
                        tmi = new MRMetaClient(hostSet);
                } catch (MalformedURLException e) {
-                       throw new RuntimeException(e);
+                       throw new IllegalArgumentException(e);
                }
                tmi.setApiCredentials(apiKey, apiSecret);
                return tmi;