+
+// tranfert failure
+void jxbt_throw_transfer_failure(JNIEnv *env,char *details) {
+
+ jxbt_throw_by_name(env,
+ "simgrid/msg/TransferFailureException",
+ details);
+
+}
+
+// host failure Exception
+void jxbt_throw_host_failure(JNIEnv *env,char *details) {
+
+ jxbt_throw_by_name(env,
+ "simgrid/msg/HostFailureException",
+ bprintf("Host Failure %s",details));
+
+}
+
+// time out failure Exception
+void jxbt_throw_time_out_failure(JNIEnv *env,char *details) {
+
+ jxbt_throw_by_name(env,
+ "simgrid/msg/TimeoutException",
+ 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