#include <string>
#include <vector>
+#include "simgrid/Exception.hpp"
#include <xbt/cunit.h>
-#include <xbt/ex.hpp>
#include <xbt/string.hpp>
/* output stream to use everywhere */
void xbt_test_exception(xbt_ex_t e)
{
- _xbt_test_fail(e.throw_point().file, e.throw_point().line, "Exception %s raised: %s", xbt_ex_catname(e.category),
+ _xbt_test_fail(e.throw_point().file_, e.throw_point().line_, "Exception %s raised: %s", xbt_ex_catname(e.category),
e.what());
}