Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Sometimes propagating an exception across different libraries fails.
[simgrid.git] / src / bindings / java / JavaContext.cpp
index 58933cf55efda0fad3055acbaf22cb24622b835e..b64a54808785bb6166b501a4ba2c6b8d35f6bc58 100644 (file)
@@ -80,7 +80,7 @@ void JavaContext::stop()
     XBT_DEBUG("Cannot detach the current thread");
   }
 
-  throw ForcefulKillException(); // clean RAII variables with the dedicated exception
+  simgrid::ForcefulKillException::do_throw(); // clean RAII variables with the dedicated exception
 }
 
 }}} // namespace simgrid::kernel::context