A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
convert all xbt_ex(timeout_error) throwing locations to simgrid::TimeoutError
[simgrid.git]
/
include
/
simgrid
/
Exception.hpp
diff --git
a/include/simgrid/Exception.hpp
b/include/simgrid/Exception.hpp
index
e09cde0
..
9d398b4
100644
(file)
--- 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 {
/** 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 */
};
/** Exception raised when an host fails */