X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bdfe4f8674f98efbf2d67ad854ef83a1d5f855ed..a2f610814708b3f2d6fcde566a37a845c94b1d97:/examples/java/master_slave_kill/Slave.java diff --git a/examples/java/master_slave_kill/Slave.java b/examples/java/master_slave_kill/Slave.java index 630c25b3fb..cd731e6cf6 100644 --- a/examples/java/master_slave_kill/Slave.java +++ b/examples/java/master_slave_kill/Slave.java @@ -1,10 +1,9 @@ -/* - * Copyright (c) 2006-2013. 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. - */ +/* Copyright (c) 2006-2014. 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 master_slave_kill; import org.simgrid.msg.HostFailureException; import org.simgrid.msg.HostNotFoundException; @@ -13,6 +12,7 @@ import org.simgrid.msg.MsgException; import org.simgrid.msg.Task; import org.simgrid.msg.TimeoutException; import org.simgrid.msg.TransferFailureException; +import org.simgrid.msg.NativeException; import org.simgrid.msg.Process; import master_slave_kill.FinalizeTask; @@ -21,7 +21,7 @@ public class Slave extends Process { public Slave(String hostname, String name) throws HostNotFoundException { super(hostname, name); } - public void main(String[] args) throws TransferFailureException, HostFailureException, TimeoutException { + public void main(String[] args) throws TransferFailureException, HostFailureException, TimeoutException, NativeException { Msg.info("Slave Hello!"); FinalizeTask task = new FinalizeTask();