X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/23c076db121b7e1fd3710db48d3f1e177cbf9fd3..51f5efedb7e873fa0c82bdc8bb0aa78ae3e827c7:/src/java/jmsg.c diff --git a/src/java/jmsg.c b/src/java/jmsg.c index 912f3017d2..24d141360a 100644 --- a/src/java/jmsg.c +++ b/src/java/jmsg.c @@ -986,6 +986,11 @@ Java_simgrid_msg_MsgNative_taskSend(JNIEnv * env, jclass cls, (*env)->ReleaseStringUTFChars(env, jalias, alias); + /* FIXME throw the right exception corresponding to HostFailureException, TransferFailureException, TimeoutFailureException + * Note: these exceptions must be created beforehand + * then, you want to create some functions like jxbt_throw_notbound() + * then, you must declare in the MsgNative stuff that these native functions can throw these exceptions + */ if (MSG_OK != rv) jxbt_throw_native(env, xbt_strdup("MSG_task_send_with_timeout() failed"));