X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bdae0bd5341a0ed9faef3ef59a669abe91eedc45..3cf8dfbfab4595b3e7ae85d3cd89ce9dbcdd7a24:/examples/java/suspend/DreamMaster.java diff --git a/examples/java/suspend/DreamMaster.java b/examples/java/suspend/DreamMaster.java index 6469b5a0f9..650a364730 100644 --- a/examples/java/suspend/DreamMaster.java +++ b/examples/java/suspend/DreamMaster.java @@ -5,14 +5,15 @@ * under the terms of the license (GNU LGPL) which comes with this package. */ package suspend; -import org.simgrid.msg.Host; +import org.simgrid.msg .Host; import org.simgrid.msg.Msg; import org.simgrid.msg.Process; import org.simgrid.msg.MsgException; +import org.simgrid.msg.HostNotFoundException; public class DreamMaster extends Process { - public DreamMaster(Host host, String name, String[]args) { - super(host,name,args); + public DreamMaster(String hostname, String name) throws HostNotFoundException{ + super(hostname,name); } public void main(String[] args) throws MsgException {