package app.bittorrent;
import org.simgrid.msg.Msg;
-import org.simgrid.msg.MsgException;
import org.simgrid.msg.RngStream;
class Main{
-/* Copyright (c) 2016. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2016-2017. 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 app.tokenring;
import org.simgrid.msg.Host;
-import org.simgrid.msg.HostNotFoundException;
import org.simgrid.msg.Msg;
import org.simgrid.msg.Process;
throw new IllegalAccessError("Utility class");
}
- public static void main(String[] args) throws HostNotFoundException {
+ public static void main(String[] args) {
Msg.init(args);
String platform = "../platforms/small_platform.xml";
-/* Copyright (c) 2006-2014, 2016. The SimGrid Team.
- * All rights reserved. */
+/* Copyright (c) 2006-2017. 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. */
*/
import org.simgrid.msg.Host;
-import org.simgrid.msg.HostNotFoundException;
import org.simgrid.msg.Msg;
class Main {
throw new IllegalAccessError("Utility class");
}
- public static void main(String[] args) throws HostNotFoundException {
+ public static void main(String[] args) {
Msg.init(args);
String platform = "../platforms/small_platform.xml";
-/* Copyright (c) 2006-2014, 2016. The SimGrid Team.
- * All rights reserved. */
+/* Copyright (c) 2006-2017. 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. */
import org.simgrid.msg.Msg;
import org.simgrid.msg.Host;
-import org.simgrid.msg.MsgException;
class Main {
private Main() {
throw new IllegalAccessError("Utility class");
}
- public static void main(String[] args) throws MsgException {
+ public static void main(String[] args) {
Msg.init(args);
String platform = "../platforms/small_platform.xml";
*/
import org.simgrid.msg.Host;
-import org.simgrid.msg.HostNotFoundException;
import org.simgrid.msg.Msg;
class Main {
throw new IllegalAccessError("Utility class");
}
- public static void main(String[] args) throws HostNotFoundException {
+ public static void main(String[] args) {
Msg.init(args);
String platform = "../platforms/small_platform.xml";
import org.simgrid.msg.Msg;
import org.simgrid.msg.Host;
-import org.simgrid.msg.MsgException;
class Main {
public static final double TASK_COMP_SIZE = 10;
throw new IllegalAccessError("Utility class");
}
- public static void main(String[] args) throws MsgException {
+ public static void main(String[] args) {
Msg.init(args);
String platfFile = "../../examples/platforms/small_platform.xml";
import org.simgrid.msg.Msg;
import org.simgrid.msg.VM;
import org.simgrid.msg.Host;
-import org.simgrid.msg.HostNotFoundException;
import org.simgrid.msg.HostFailureException;
public class XVM extends VM {
package dht.kademlia;
import org.simgrid.msg.Msg;
-import org.simgrid.msg.MsgException;
class Main {
private Main() {
-/* Copyright (c) 2016. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2016-2017. 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 energy.pstate;
import org.simgrid.msg.Host;
-import org.simgrid.msg.HostNotFoundException;
import org.simgrid.msg.Msg;
class Main {
throw new IllegalAccessError("Utility class");
}
- public static void main(String[] args) throws HostNotFoundException {
+ public static void main(String[] args) {
Msg.energyInit();
Msg.init(args);
-/* Copyright (c) 2012-2014. The SimGrid Team.
- * All rights reserved. */
+/* Copyright (c) 2012-2017. 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. */
import org.simgrid.msg.Msg;
import org.simgrid.msg.Host;
-import org.simgrid.msg.MsgException;
public class Main {
private Main() {
throw new IllegalAccessError("Utility class");
}
- public static void main(String[] args) throws MsgException {
+ public static void main(String[] args) {
Msg.init(args);
if(args.length < 1) {
Msg.info("Usage : IO platform_file ");
import org.simgrid.msg.File;
import org.simgrid.msg.Host;
import org.simgrid.msg.Process;
-import org.simgrid.msg.HostNotFoundException;
import org.simgrid.msg.MsgException;
public class Node extends Process {
import org.simgrid.msg.Host;
import org.simgrid.msg.Process;
import org.simgrid.msg.Storage;
-import org.simgrid.msg.HostNotFoundException;
import org.simgrid.msg.MsgException;
public class Client extends Process {
-/* Copyright (c) 2012-2014. The SimGrid Team.
- * All rights reserved. */
+/* Copyright (c) 2012-2017. 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 io.storage;
import org.simgrid.msg.Msg;
import org.simgrid.msg.Host;
-import org.simgrid.msg.MsgException;
public class Main {
private Main() {
throw new IllegalAccessError("Utility class");
}
- public static void main(String[] args) throws MsgException {
+ public static void main(String[] args) {
Msg.init(args);
if(args.length < 1) {
Msg.info("Usage : Storage platform_file ");