aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-server-common
diff options
context:
space:
mode:
authorEric Hartmann <hartmann.eric@gmail.com>2018-07-31 12:34:35 +0200
committerSonarTech <sonartech@sonarsource.com>2018-08-02 20:21:37 +0200
commitc23cd106e272c8d69caf0333f9ae89884ed45a53 (patch)
tree002ee4514a9fbe7c9e64050ae7603f80e2a7a7de /server/sonar-server-common
parent4c9868dfd51b72010956f0f00b5a684d9cb37400 (diff)
downloadsonarqube-c23cd106e272c8d69caf0333f9ae89884ed45a53.tar.gz
sonarqube-c23cd106e272c8d69caf0333f9ae89884ed45a53.zip
SONARCLOUD-109 Do not log the message
Diffstat (limited to 'server/sonar-server-common')
-rw-r--r--server/sonar-server-common/src/main/java/org/sonar/server/organization/BillingValidations.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-server-common/src/main/java/org/sonar/server/organization/BillingValidations.java b/server/sonar-server-common/src/main/java/org/sonar/server/organization/BillingValidations.java
index d151b2e75fd..945c431cf60 100644
--- a/server/sonar-server-common/src/main/java/org/sonar/server/organization/BillingValidations.java
+++ b/server/sonar-server-common/src/main/java/org/sonar/server/organization/BillingValidations.java
@@ -21,6 +21,7 @@ package org.sonar.server.organization;
import org.sonar.api.ce.ComputeEngineSide;
import org.sonar.api.server.ServerSide;
+import org.sonar.process.MessageException;
import static java.util.Objects.requireNonNull;
@@ -71,7 +72,7 @@ public interface BillingValidations {
}
}
- class BillingValidationsException extends RuntimeException {
+ class BillingValidationsException extends MessageException {
public BillingValidationsException(String message) {
super(message);
}
@@ -90,6 +91,5 @@ public interface BillingValidations {
public String toString() {
return getMessage();
}
-
}
}