From 92b68fdb6bca9347e153424fb4f79ceae400fc3d Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Wed, 2 Dec 2015 11:40:43 +0100 Subject: ws-client should not throw HttpException by default --- sonar-ws/src/main/java/org/sonarqube/ws/client/HttpException.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sonar-ws/src/main/java/org/sonarqube/ws/client/HttpException.java') 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; } -- cgit v1.2.3