+
+// 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);
+
+}