[grid] Throwing a more specific exception to show the essence of the problem
@@ -109,7 +109,7 @@ protected void execute(Config config) throws Exception {
try {
localhost = new URI("http", null, hostName, port, null, null, null);
} catch (URISyntaxException e) {
- throw new RuntimeException(e);
+ throw new IllegalArgumentException(e);
}
NetworkOptions networkOptions = new NetworkOptions(config);
