Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Create some simgrid::exception, and make xbt_ex one of them
[simgrid.git] / src / xbt / ex.cpp
index add5c21..76f0837 100644 (file)
@@ -40,10 +40,10 @@ void _xbt_throw(char* message, xbt_errcat_t errcat, int value, const char* file,
 /** @brief shows an exception content and the associated stack if available */
 void xbt_ex_display(xbt_ex_t * e)
 {
-  simgrid::xbt::logException(xbt_log_priority_critical, "UNCAUGHT EXCEPTION", *e);
+  simgrid::xbt::log_exception(xbt_log_priority_critical, "UNCAUGHT EXCEPTION", *e);
 }
 
-/** \brief returns a short name for the given exception category */
+/** @brief returns a short name for the given exception category */
 const char *xbt_ex_catname(xbt_errcat_t cat)
 {
   switch (cat) {