aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-server-common
diff options
context:
space:
mode:
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();
}
-
}
}