X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c5654cae8d3a2a06d21502b9e85d60c6aa889add..5d3e71cc5617674a92703e4b45d9b9951aed7d0a:/include/simgrid/Exception.hpp diff --git a/include/simgrid/Exception.hpp b/include/simgrid/Exception.hpp index e09cde016d..9d398b4ac5 100644 --- a/include/simgrid/Exception.hpp +++ b/include/simgrid/Exception.hpp @@ -110,6 +110,11 @@ namespace simgrid { /** Exception raised when a timeout elapsed */ class TimeoutError : public xbt_ex { +public: + TimeoutError(simgrid::xbt::ThrowPoint throwpoint, std::string message) : xbt_ex(throwpoint, message) + { + category = timeout_error; + } }; /** Exception raised when an host fails */