Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines.
[simgrid.git] / src / bindings / java / org / simgrid / msg / MsgException.java
index 7826c2e..61b233a 100644 (file)
@@ -1,6 +1,6 @@
 /* This exception is an abstract class grouping all MSG-related exceptions */
 
-/* Copyright (c) 2006-2020. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2006-2021. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -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);
        }
 }