Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
removing NativeExpection and adding others
[simgrid.git] / src / java / jxbt_utilities.c
index 9649bd6..43047a6 100644 (file)
@@ -290,3 +290,13 @@ void jxbt_throw_time_out_failure(JNIEnv *env,char *details) {
                    details);
   
 }
+
+// task Cancelled exception
+void jxbt_throw_task_cancelled(JNIEnv *env,char *details)
+{
+  jxbt_throw_by_name(env,
+                    "simgrid/msg/TaskCancelledException",
+                    details);
+  
+}
\ No newline at end of file