git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2113
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
TRY {
amok_bw_saturate_stop(argv[1],atoi(argv[2]),NULL,NULL);
} CATCH(e) {
TRY {
amok_bw_saturate_stop(argv[1],atoi(argv[2]),NULL,NULL);
} CATCH(e) {
xbt_assert1(!strcmp(e.msg,"Some error we will catch on client side"),
"Got wrong message: %s", e.msg);;
INFO0("Got the expected exception when calling the exception raising RPC");
xbt_assert1(!strcmp(e.msg,"Some error we will catch on client side"),
"Got wrong message: %s", e.msg);;
INFO0("Got the expected exception when calling the exception raising RPC");
/* doxygen_ignore */
for (i=0; i<5; i++) {
/* doxygen_ignore */
for (i=0; i<5; i++) {
gras_msgtype_by_name("raise exception"), NULL, NULL);
} CATCH(e) {
gotit = 1;
gras_msgtype_by_name("raise exception"), NULL, NULL);
} CATCH(e) {
gotit = 1;
}
if (!gotit) {
THROW0(unknown_error,0,"Didn't got the remote exception!");
}
if (!gotit) {
THROW0(unknown_error,0,"Didn't got the remote exception!");
xbt_assert1(!strcmp(e.msg,"Some error we will catch on client side"),
"Got wrong message: %s", e.msg);;
INFO0("Got the expected exception when calling the exception raising RPC");
xbt_assert1(!strcmp(e.msg,"Some error we will catch on client side"),
"Got wrong message: %s", e.msg);;
INFO0("Got the expected exception when calling the exception raising RPC");
}
/* 11. Cleanup the place before leaving */
}
/* 11. Cleanup the place before leaving */
} CATCH(e) {
if (e.category != not_found_error)
RETHROW;
} CATCH(e) {
if (e.category != not_found_error)
RETHROW;
TRY {
res = (gras_msgtype_t)xbt_set_get_by_name(_gras_msgtype_set, namev);
} CATCH(e) {
TRY {
res = (gras_msgtype_t)xbt_set_get_by_name(_gras_msgtype_set, namev);
} CATCH(e) {
THROW1(not_found_error,0,"No registred message of that name: %s",name);
}
if (name != namev)
THROW1(not_found_error,0,"No registred message of that name: %s",name);
}
if (name != namev)
} CATCH(e) {
if (e.category != timeout_error)
RETHROW;
} CATCH(e) {
if (e.category != timeout_error)
RETHROW;
gras_socket_peer_name(msg.expe),
gras_socket_peer_port(msg.expe));
e.host = NULL;
gras_socket_peer_name(msg.expe),
gras_socket_peer_port(msg.expe));
e.host = NULL;
data = xbt_set_get_by_name(pd->libdata, fab.name);
found = 1;
} CATCH(e) {
data = xbt_set_get_by_name(pd->libdata, fab.name);
found = 1;
} CATCH(e) {