At least hopefully. In fact, when I try to use it, I fail to catch
HostFailureException as if they were xbt_ex exceptions, and I don't
know why.
/** Exception raised when an host fails */
class HostFailureException : public xbt_ex {
/** Exception raised when an host fails */
class HostFailureException : public xbt_ex {
+public:
+ HostFailureException(simgrid::xbt::ThrowPoint throwpoint, const char* message) : xbt_ex(throwpoint, message)
+ {
+ category = host_error;
+ }
};
/** Exception raised when a communication fails because of the network */
};
/** Exception raised when a communication fails because of the network */