Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[sonar] Constructors of an "abstract" class should not be "public".
[simgrid.git] / src / bindings / java / org / simgrid / msg / MsgException.java
index 7826c2e..a48671b 100644 (file)
@@ -12,11 +12,11 @@ public abstract class MsgException extends Exception {
        private static final long serialVersionUID = 1L;
 
        /** Constructs an <code>MsgException</code> without a detail message. */
-       public MsgException() {
+       protected MsgException() {
                super();
        }
        /** Constructs an <code>MsgException</code> with a detail message. */
-       public MsgException(String msg) {
+       protected MsgException(String msg) {
                super(msg);
        }
 }