} catch (simgrid::TimeoutError& e) {
comm->status = MSG_TIMEOUT;
finished = true;
+ } catch (simgrid::CancelException& e) {
+ comm->status = MSG_HOST_FAILURE;
+ finished = true;
}
catch (xbt_ex& e) {
if (e.category == network_error) {
} catch (simgrid::TimeoutError& e) {
finished_index = e.value;
status = MSG_TIMEOUT;
+ } catch (simgrid::CancelException& e) {
+ finished_index = e.value;
+ status = MSG_HOST_FAILURE;
}
catch (xbt_ex& e) {
if (e.category != network_error)
/* FIXME: these functions are not traceable */
} catch (simgrid::TimeoutError& e) {
comm->status = MSG_TIMEOUT;
+ } catch (simgrid::CancelException& e) {
+ comm->status = MSG_HOST_FAILURE;
}
catch (xbt_ex& e) {
if (e.category == network_error)
} catch (simgrid::TimeoutError& e) {
finished_index = e.value;
status = MSG_TIMEOUT;
+ } catch (simgrid::CancelException& e) {
+ finished_index = e.value;
+ status = MSG_HOST_FAILURE;
}
catch(xbt_ex& e) {
if (e.category == network_error) {