Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix the examples now that they can throw potentially more exception types
[simgrid.git] / examples / java / basic / Master.java
index 2b4ef9a..eab3bf5 100644 (file)
@@ -10,7 +10,7 @@
 import simgrid.msg.*;
 
 public class Master extends simgrid.msg.Process {
-   public void main(String[] args) throws JniException, NativeException {
+   public void main(String[] args) throws MsgException {
       if (args.length < 4) {
         Msg.info("Master needs 4 arguments");
         System.exit(1);