Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Modernize FindSimGrid
[simgrid.git] / src / bindings / java / org / simgrid / msg / MsgException.java
index b41bd30..c93ace1 100644 (file)
@@ -1,42 +1,22 @@
-/*
- * This exception is an abstract class grouping all MSG-related exceptions
- *
- * Copyright 2006-2012 The SimGrid Team           
- * All right 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. 
- */
+/* This exception is an abstract class grouping all MSG-related exceptions */
+
+/* Copyright (c) 2006-2016. 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. */
+
 package org.simgrid.msg;
 
-/**
- * This exception is an abstract class grouping all MSG-related exceptions
-  
-    \htmlonly <!-- 
-      DOXYGEN_NAVBAR_CHILD "HostNotFoundException"=classsimgrid_1_1msg_1_1HostNotFoundException.html
-      DOXYGEN_NAVBAR_CHILD "JniException"=classsimgrid_1_1msg_1_1JniException.html
-      DOXYGEN_NAVBAR_CHILD "NativeException"=classsimgrid_1_1msg_1_1NativeException.html
-      DOXYGEN_NAVBAR_CHILD "ProcessNotFoundException"=classsimgrid_1_1msg_1_1ProcessNotFoundException.html
-    --> \endhtmlonly 
-  
- */
+/** This exception is an abstract class grouping all MSG-related exceptions */
 public abstract class MsgException extends Exception {
-  private static final long serialVersionUID = 1L;
+       private static final long serialVersionUID = 1L;
 
-  /**
-   * Constructs an <code>MsgException</code> without a 
-   * detail message. 
-   */
-  public MsgException() {
-    super();
-  }
-  /**
-   * Constructs an <code>MsgException</code> with a detail message. 
-   *
-   * @param   s   the detail message.
-   */ 
-  public MsgException(String s) {
-    super(s);
-  }
+       /** Constructs an <code>MsgException</code> without a detail message. */
+       public MsgException() {
+               super();
+       }
+       /** Constructs an <code>MsgException</code> with a detail message. */ 
+       public MsgException(String msg) {
+               super(msg);
+       }
 }