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
Move ForcefulKillException to the root namespace, along with the other exceptions
[simgrid.git]
/
src
/
bindings
/
java
/
jmsg_vm.cpp
diff --git
a/src/bindings/java/jmsg_vm.cpp
b/src/bindings/java/jmsg_vm.cpp
index
18afc0a
..
b917e08
100644
(file)
--- a/
src/bindings/java/jmsg_vm.cpp
+++ b/
src/bindings/java/jmsg_vm.cpp
@@
-151,7
+151,7
@@
JNIEXPORT void JNICALL Java_org_simgrid_msg_VM_nativeMigration(JNIEnv* env, jobj
{
msg_vm_t vm = jvm_get_native(env,jvm);
msg_host_t host = jhost_get_native(env, jhost);
- if (not simgrid::
kernel::context::StopRequest
::try_n_catch([&vm, &host]() { MSG_vm_migrate(vm, host); })) {
+ if (not simgrid::
ForcefulKillException
::try_n_catch([&vm, &host]() { MSG_vm_migrate(vm, host); })) {
XBT_VERB("Caught exception during migration");
jxbt_throw_host_failure(env, "during migration");
}