]> source.dussan.org Git - sonarqube.git/commitdiff
API - ability to extend MessageException
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 3 Oct 2017 15:04:12 +0000 (17:04 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 3 Oct 2017 17:49:29 +0000 (19:49 +0200)
for instance to implement CE TypedException at the same time

sonar-plugin-api/src/main/java/org/sonar/api/utils/MessageException.java

index c853494e2dc75a6623a259cae86fc1de8cc58b0b..fdf597c38f7d6d2655fe1bf550603f5b83647d2a 100644 (file)
@@ -49,7 +49,7 @@ public class MessageException extends RuntimeException {
   private final String l10nKey;
   private final Collection<Object> l10nParams;
 
-  private MessageException(String s) {
+  protected MessageException(String s) {
     this(s, null, null);
   }