X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b024b9e443552c94609fc56a240cdb199a329853..c1b7d5ba6a32f5fb70b7aec1c10e06ba560e195e:/src/mc/mc_exit.hpp diff --git a/src/mc/mc_exit.hpp b/src/mc/mc_exit.hpp index c725e83913..6494e19efc 100644 --- a/src/mc/mc_exit.hpp +++ b/src/mc/mc_exit.hpp @@ -6,6 +6,7 @@ #ifndef SIMGRID_MC_EXIT_HPP #define SIMGRID_MC_EXIT_HPP #include "xbt/base.h" +#include constexpr int SIMGRID_MC_EXIT_SUCCESS = 0; constexpr int SIMGRID_MC_EXIT_SAFETY = 1; @@ -19,11 +20,11 @@ constexpr int SIMGRID_MC_EXIT_ERROR = 63; namespace simgrid { namespace mc { -class XBT_PUBLIC DeadlockError { +class XBT_PUBLIC DeadlockError : public std::exception { }; -class XBT_PUBLIC TerminationError { +class XBT_PUBLIC TerminationError : public std::exception { }; -class XBT_PUBLIC LivenessError { +class XBT_PUBLIC LivenessError : public std::exception { }; } }