]> source.dussan.org Git - sonarqube.git/commitdiff
Fix quality flaw
authorSimon Brandhof <simon.brandhof@gmail.com>
Wed, 10 Oct 2012 14:47:19 +0000 (16:47 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Wed, 10 Oct 2012 14:48:01 +0000 (16:48 +0200)
sonar-ws-client/src/main/java/org/sonar/wsclient/JdkUtils.java

index 3643750f43c3b7364bf24d6973e782008165f1a1..b0e55b1bcf323a77b2883bc5e4d4c2a3071e0911 100644 (file)
@@ -45,7 +45,7 @@ public final class JdkUtils extends WSUtils {
       return URLEncoder.encode(url, "UTF-8");
 
     } catch (UnsupportedEncodingException e) {
-      throw new RuntimeException(e);
+      throw new IllegalStateException(e);
     }
   }