Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
s4u::Actor: Rename migrate() into set_host()
[simgrid.git] / include / simgrid / Exception.hpp
index 200eb19..5ea1158 100644 (file)
@@ -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