- bprintf("Timeout Failure while sending(task :%s / alias %s ):nothing good happened before the timer you provided elapsed ",task_name,alias));
+ details);
+
+}
+
+// task Cancelled exception
+void jxbt_throw_task_cancelled(JNIEnv *env,char *details)
+{
+
+ jxbt_throw_by_name(env,
+ "simgrid/msg/TaskCancelledException",
+ details);