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
Merge pull request #299 from mpoquet/example/s4u-barrier
[simgrid.git]
/
include
/
simgrid
/
Exception.hpp
diff --git
a/include/simgrid/Exception.hpp
b/include/simgrid/Exception.hpp
index
1f3d2b3
..
9ea27ab
100644
(file)
--- a/
include/simgrid/Exception.hpp
+++ b/
include/simgrid/Exception.hpp
@@
-121,6
+121,11
@@
public:
/** Exception raised when a communication fails because of the network */
class NetworkFailureException : public xbt_ex {
/** Exception raised when a communication fails because of the network */
class NetworkFailureException : public xbt_ex {
+public:
+ NetworkFailureException(simgrid::xbt::ThrowPoint throwpoint, std::string message) : xbt_ex(throwpoint, message)
+ {
+ category = network_error;
+ }
};
/** Exception raised when something got canceled before completion */
};
/** Exception raised when something got canceled before completion */