+XBT_ATTRIB_DEPRECATED_v328("Please use simgrid::TimeoutException") typedef TimeoutException TimeoutError;
+
+/** Exception raised when a host fails */
+class HostFailureException : public Exception {
+public:
+ HostFailureException(simgrid::xbt::ThrowPoint&& throwpoint, std::string&& message)
+ : Exception(std::move(throwpoint), std::move(message))
+ {
+ }
+ HostFailureException(const HostFailureException&) = default;
+ HostFailureException(HostFailureException&&) noexcept = default;
+ ~HostFailureException() override;
+};
+
+/** Exception raised when a communication fails because of the network or because of the remote host */
+class NetworkFailureException : public Exception {
+public:
+ NetworkFailureException(simgrid::xbt::ThrowPoint&& throwpoint, std::string&& message)
+ : Exception(std::move(throwpoint), std::move(message))
+ {
+ }
+ NetworkFailureException(const NetworkFailureException&) = default;
+ NetworkFailureException(NetworkFailureException&&) noexcept = default;
+ ~NetworkFailureException() override;
+};
+
+/** Exception raised when a storage fails */
+class StorageFailureException : public Exception {
+public:
+ StorageFailureException(simgrid::xbt::ThrowPoint&& throwpoint, std::string&& message)
+ : Exception(std::move(throwpoint), std::move(message))
+ {
+ }
+ StorageFailureException(const StorageFailureException&) = default;
+ StorageFailureException(StorageFailureException&&) noexcept = default;
+ ~StorageFailureException() override;