X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ad455a31635e6f71bb8dd5c06d85657812c783bd..cb1f41e17133f75d16ce09edee442cda1ae579b6:/include/simgrid/Exception.hpp diff --git a/include/simgrid/Exception.hpp b/include/simgrid/Exception.hpp index 200eb19cdc..5ea1158a48 100644 --- a/include/simgrid/Exception.hpp +++ b/include/simgrid/Exception.hpp @@ -93,14 +93,16 @@ private: }; /** Exception raised when a timeout elapsed */ -class TimeoutError : public Exception { +class TimeoutException : public Exception { public: - TimeoutError(simgrid::xbt::ThrowPoint&& throwpoint, std::string&& message) + TimeoutException(simgrid::xbt::ThrowPoint&& throwpoint, std::string&& message) : Exception(std::move(throwpoint), std::move(message)) { } }; +XBT_ATTRIB_DEPRECATED_v328("Please use simgrid::TimeoutException") typedef TimeoutException TimeoutError; + /** Exception raised when a host fails */ class HostFailureException : public Exception { public: @@ -195,6 +197,6 @@ private: } // namespace simgrid -XBT_ATTRIB_DEPRECATED_v327("Please use simgrid::Exception") typedef simgrid::Exception xbt_ex; +XBT_ATTRIB_DEPRECATED_v328("Please use simgrid::Exception") typedef simgrid::Exception xbt_ex; #endif