- "**EX: UNCAUGHT EXCEPTION: "
- "class=0x%lx object=0x%lx value=0x%lx [%s:%d@%s]\n",
- (long)((e)->ex_class), (long)((e)->ex_object), (long)((e)->ex_value),
- (e)->ex_file, (e)->ex_line, (e)->ex_func);
+ "** SimGrid: UNCAUGHT EXCEPTION:\n"
+ "** (%d/%d) %s\n"
+ "** Thrown by %s%s%s at %s:%d:%s\n",
+ e->code, e->value, e->msg,
+ e->procname, (e->host?"@":""),(e->host?e->host:""),
+ e->file,e->line,e->func);