X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fae10815035e4d0d150ff5fdbb7aa8fe25448c57..9d7dca1d2de1e6d67027e4ba33fefe1eb09550e3:/include/xbt/ex.hpp diff --git a/include/xbt/ex.hpp b/include/xbt/ex.hpp index c1dcfb8a1a..de8c43dc0c 100644 --- a/include/xbt/ex.hpp +++ b/include/xbt/ex.hpp @@ -48,15 +48,18 @@ #include -/** (Deprecated) Generic exception +/** A legacy exception * - * An error is defined by a category and a value within that category. + * It is defined by a category and a value within that category (as well as + * an optional error message). * * This used to be a structure for C exceptions but it has been retrofitted * as a C++ exception and some of its data has been moved in the - * WithContextException base class. We should deprecate it and replace it + * @ref WithContextException base class. We should deprecate it and replace it * with either C++ different exceptions or `std::system_error` which already * provides this (category + error code) logic. + * + * @ingroup XBT_ex_c */ struct XBT_PUBLIC() xbt_ex : public std::runtime_error,