diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-12-02 11:40:43 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-12-02 14:16:49 +0100 |
commit | 92b68fdb6bca9347e153424fb4f79ceae400fc3d (patch) | |
tree | 78c7cd28e588d4f69c37575d7d84d14c0e45ec1f /sonar-ws/src/main/java/org/sonarqube/ws/client/HttpException.java | |
parent | b4201256a7e4d8b153ecf0cb074f6e264df67f17 (diff) | |
download | sonarqube-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.java | 4 |
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; } |