X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0a0a04aa5d4d82074210bd07aca90661a1a62d76..c17e2d0a40dd44817f3c8d5da7d72f4ef8f1e3c8:/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 53ccd9968f..6042b0430d 100644 --- a/src/bindings/java/org/simgrid/msg/Host.java +++ b/src/bindings/java/org/simgrid/msg/Host.java @@ -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),