// It would be simplet if we could use a closure.
jobject jprocess = (jobject) MSG_process_get_data(process);
simgrid::java::java_main_jprocess(jprocess);
- return 0;
+ return;
}, jprocess,
host,
/*argc, argv, properties*/
return;
}
- TRY {
+ try {
MSG_process_auto_restart_set(process,auto_restart);
}
- CATCH (e) {
- xbt_ex_free(e);
+ catch (xbt_ex& e) {
+ // Nothing to do
}
}
return;
}
- TRY {
+ try {
MSG_process_restart(process);
}
- CATCH (e) {
- xbt_ex_free(e);
+ catch (xbt_ex& e) {
+ // Nothing to do
}
}