/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-#include <msg/msg.h>
+#include <simgrid/msg.h>
#include <simgrid/simix.h>
#include <surf/surfxml_parse.h>
#include <locale.h>
case MSG_HOST_FAILURE:
jxbt_throw_host_failure(env,NULL);
break;
+ case MSG_TASK_CANCELED:
+ jxbt_throw_task_cancelled(env,NULL);
+ break;
default:
- jxbt_throw_native(env,xbt_strdup("communication failed"));
+ jxbt_throw_native(env,xbt_strdup("undefined message failed (please see jmsg_throw_status function in jmsg.c)"));
}
}
const char *tmp;
XBT_LOG_CONNECT(jmsg);
-#ifdef HAVE_TRACING
XBT_LOG_CONNECT(jtrace);
-#endif
(*env)->GetJavaVM(env, &__java_vm);