Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics
[simgrid.git] / src / bindings / java / org / simgrid / msg / Task.java
index e267422..47f87fa 100644 (file)
@@ -84,8 +84,7 @@ public class Task {
         */
        private final native void create(String name,
                        double flopsAmount,
-                       double bytesAmount)
-                                       throws IllegalArgumentException;                
+                       double bytesAmount);
        /**
         * The natively implemented method to create a MSG parallel task.
         *
@@ -99,8 +98,7 @@ public class Task {
        private final native void parallelCreate(String name,
                        Host[]hosts,
                        double[]flopsAmount,
-                       double[]bytesAmount)
-                                       throws NullPointerException, IllegalArgumentException;
+                       double[]bytesAmount);
        /* *                   * *
         * * Getters / Setters * *
         * *                   * */
@@ -196,7 +194,7 @@ public class Task {
         * @throws HostFailureException 
         * @throws TransferFailureException 
         */
-       public void send(String mailbox) throws TransferFailureException, HostFailureException, TimeoutException, NativeException {
+       public void send(String mailbox) throws TransferFailureException, HostFailureException, TimeoutException {
                send(mailbox, -1);
        } 
 
@@ -205,12 +203,11 @@ public class Task {
         *
         * @param mailbox where to send the message
         * @param timeout
-        * @exception  NativeException if the retrieval fails.
         * @throws TimeoutException 
         * @throws HostFailureException 
         * @throws TransferFailureException 
         */
-       public native void send(String mailbox, double timeout) throws TransferFailureException, HostFailureException, TimeoutException, NativeException;
+       public native void send(String mailbox, double timeout) throws TransferFailureException, HostFailureException, TimeoutException;
 
        /** Sends the task on the specified mailbox (capping the sending rate to \a maxrate) 
         *