X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/daf48de02c5ddf826a62409660b93eaaeaa7006b..510c97d4c651c63ef9851a7e1d9c328f62b5b00b:/include/simgrid/Exception.hpp diff --git a/include/simgrid/Exception.hpp b/include/simgrid/Exception.hpp index 39002a85ff..a6d40e8bae 100644 --- a/include/simgrid/Exception.hpp +++ b/include/simgrid/Exception.hpp @@ -189,6 +189,16 @@ public: } }; +/** Exception raised when something is going wrong during the simulation tracing */ +class TracingError : public xbt_ex { +public: + TracingError(simgrid::xbt::ThrowPoint&& throwpoint, std::string&& message) + : xbt_ex(std::move(throwpoint), std::move(message)) + { + category = tracing_error; + } +}; + class XBT_PUBLIC ForcefulKillException { /** @brief Exception launched to kill an actor; DO NOT BLOCK IT! *