Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[sonar] Inherit from std::exception.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 3 Jul 2019 08:11:37 +0000 (10:11 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 3 Jul 2019 08:11:37 +0000 (10:11 +0200)
src/mc/mc_exit.hpp

index c725e83..8245a27 100644 (file)
@@ -19,11 +19,11 @@ constexpr int SIMGRID_MC_EXIT_ERROR           = 63;
 
 namespace simgrid {
 namespace mc {
 
 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 {
 };
 }
 }
 };
 }
 }