aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main/java/org/sonarqube/ws/client/HttpException.java
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-12-02 11:40:43 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-12-02 14:16:49 +0100
commit92b68fdb6bca9347e153424fb4f79ceae400fc3d (patch)
tree78c7cd28e588d4f69c37575d7d84d14c0e45ec1f /sonar-ws/src/main/java/org/sonarqube/ws/client/HttpException.java
parentb4201256a7e4d8b153ecf0cb074f6e264df67f17 (diff)
downloadsonarqube-92b68fdb6bca9347e153424fb4f79ceae400fc3d.tar.gz
sonarqube-92b68fdb6bca9347e153424fb4f79ceae400fc3d.zip
ws-client should not throw HttpException by default
Diffstat (limited to 'sonar-ws/src/main/java/org/sonarqube/ws/client/HttpException.java')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/HttpException.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/HttpException.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/HttpException.java
index 393c6232f89..81fd1d69ab8 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/HttpException.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/HttpException.java
@@ -27,8 +27,8 @@ public class HttpException extends RuntimeException {
private final String url;
private final int code;
- public HttpException(String url, int code, String message) {
- super(String.format("Error %d on %s : %s", code, url, message));
+ public HttpException(String url, int code) {
+ super(String.format("Error %d on %s", code, url));
this.url = url;
this.code = code;
}