diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/com/att/nsa/mr/client/MRClientBuilders.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/mr/client/MRClientBuilders.java b/src/main/java/com/att/nsa/mr/client/MRClientBuilders.java index 96d6fc5..76df039 100644 --- a/src/main/java/com/att/nsa/mr/client/MRClientBuilders.java +++ b/src/main/java/com/att/nsa/mr/client/MRClientBuilders.java @@ -279,7 +279,7 @@ public class MRClientBuilders protected MRIdentityManager constructClient ( Collection<String> hosts ) { try { return new MRMetaClient ( hosts ); } catch (MalformedURLException e) { - throw new RuntimeException(e); + throw new IllegalArgumentException(e); } } } |