Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix some errors and warnings in the doc generation
[simgrid.git] / src / bindings / java / org / simgrid / msg / Host.java
index 53ccd9968fbdee63492f96da625c59ea541ffe8b..6042b0430d42fc8247daeb6c448e4ebbd43f4f8b 100644 (file)
@@ -1,14 +1,12 @@
 /* Bindings to the MSG hosts */
 
-/* Copyright (c) 2006-2018. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2006-2019. 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;
 
-import org.simgrid.msg.Storage;
-
 /**
  * A host object represents a location (any possible place) where a process may run.
  * Thus it is represented as a physical resource with computing capabilities, some
@@ -113,7 +111,7 @@ public class Host {
        /** Starts the host if it is off */
        public native void on();
        /** Stops the host if it is on */
-       public native void off();
+       public native void off() throws ProcessKilledError;
 
        /**
         * This method returns the speed of the processor of a host (in flops),