From: Simon Brandhof Date: Tue, 3 Oct 2017 15:04:12 +0000 (+0200) Subject: API - ability to extend MessageException X-Git-Tag: 6.6-RC1~70 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4a8a3c39893bdcf93e9caf412fd1791fd499b0e5;p=sonarqube.git API - ability to extend MessageException for instance to implement CE TypedException at the same time --- diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/utils/MessageException.java b/sonar-plugin-api/src/main/java/org/sonar/api/utils/MessageException.java index c853494e2dc..fdf597c38f7 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/utils/MessageException.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/utils/MessageException.java @@ -49,7 +49,7 @@ public class MessageException extends RuntimeException { private final String l10nKey; private final Collection l10nParams; - private MessageException(String s) { + protected MessageException(String s) { this(s, null, null); }