Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
reduce Java debt (endless wip)
[simgrid.git] / examples / java / process / kill / Main.java
index 8a1065a..f62b469 100644 (file)
@@ -11,6 +11,10 @@ import org.simgrid.msg.MsgException;
 import org.simgrid.msg.NativeException;
 
 public class Main {
+  private Main() {
+    throw new IllegalAccessError("Utility class");
+  }
+
   public static void main(String[] args) throws NativeException {
     /* initialize the MSG simulation. Must be done before anything else (even logging). */
     Msg.init(args);