Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move ForcefulKillException to the root namespace, along with the other exceptions
[simgrid.git] / src / kernel / context / Context.cpp
index 51b492a..dedbf2c 100644 (file)
@@ -112,25 +112,6 @@ void Context::stop()
 
 AttachContext::~AttachContext() = default;
 
-ForcefulKillException::~ForcefulKillException() = default;
-
-void ForcefulKillException::do_throw()
-{
-  throw ForcefulKillException();
-}
-
-bool ForcefulKillException::try_n_catch(std::function<void(void)> try_block)
-{
-  bool res;
-  try {
-    try_block();
-    res = true;
-  } catch (ForcefulKillException const&) {
-    XBT_DEBUG("Caught a ForcefulKillException");
-    res = false;
-  }
-  return res;
-}
 }}}
 
 /** @brief Executes all the processes to run (in parallel if possible). */