Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Another superfluous 'throws'.
[simgrid.git] / examples / deprecated / java / energy / vm / Main.java
index 1e788ceaa59b61d34a4d054e9bcf94e4fa2de35c..b868e54e6cf18aaf077c686441c3b4adfb7aa4c8 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2016-2019. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2016-2020. 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. */
@@ -14,7 +14,7 @@ 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);