Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
tidy the exceptions that can be raised by our Java code
[simgrid.git] / src / bindings / java / org / simgrid / msg / Process.java
index 43dc342..055939e 100644 (file)
@@ -1,5 +1,4 @@
-/* Copyright (c) 2006-2014. The SimGrid Team.
- * All rights reserved.                                                     */
+/* Copyright (c) 2006-2017. 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. */
@@ -283,9 +282,9 @@ public abstract class Process implements Runnable {
         * It is a noop if the process is already launched.
         * @throws HostNotFoundException
         */
-       public final void start() throws HostNotFoundException {
-               if (bind == 0)
-                        create(host);
+       public final void start() {
+          if (bind == 0)
+            create(host);
        }
 
        /** This method runs the process. It calls the method function that you must overwrite. */