/* 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 <xbt/ex.hpp>
+
#include "jmsg_process.h"
#include "jmsg.h"
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
}
}