X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b8df87e176f27b25534f27d7e240defa32ca35bc..84402e8e2ee2a2d0bef25fdceb0a263ed8b471f6:/src/bindings/java/org/simgrid/msg/Host.java diff --git a/src/bindings/java/org/simgrid/msg/Host.java b/src/bindings/java/org/simgrid/msg/Host.java index fc1322ea13..b4aae07481 100644 --- a/src/bindings/java/org/simgrid/msg/Host.java +++ b/src/bindings/java/org/simgrid/msg/Host.java @@ -1,6 +1,6 @@ /* Bindings to the MSG hosts */ -/* Copyright (c) 2006-2019. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2006-2020. 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. */ @@ -111,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),