Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
missing exceptions
[simgrid.git] / src / java / simgrid / msg / MsgNative.java
index e64718b..8d0f2ef 100644 (file)
@@ -18,14 +18,12 @@ package simgrid.msg;
  */
 final class MsgNative {
 
-
        final static native
        void selectContextFactory(String name) throws NativeException;
 
        /******************************************************************
         * The natively implemented methods connected to the MSG Process  *
         ******************************************************************/
-
        /**
         * The natively implemented method to create an MSG process.
         *
@@ -419,14 +417,11 @@ final class MsgNative {
         */
        final static native void taskExecute(Task task) throws NativeException;
 
-
-
        /* ****************************************************************
         * Communication methods thru mailboxes                           *
         **************************************************************** */
 
-
-       final static native void taskSend(String alias, Task task, double timeout) throws TransferFailureException,HostFailureException,NativeException;
+       final static native void taskSend(String alias, Task task, double timeout) throws NativeException,TransferFailureException,HostFailureException,TimeoutFailureException;
        final static native Task taskReceive(String alias, double timeout, Host host) throws NativeException;
        final static native int taskListenFrom(String alias) throws NativeException;
        final static native boolean taskListen(String alias);
@@ -448,4 +443,4 @@ final class MsgNative {
         */ 
        final static native void taskSendBounded(String alias, Task task, double maxrate) throws NativeException;
 
-}
+}
\ No newline at end of file