X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a6b23c846948f7f89277f75e7c42f3942b31b8d3..7018d53f4b991df9ddfa5b0c53293118d200efd6:/src/bindings/java/org/simgrid/msg/VM.java diff --git a/src/bindings/java/org/simgrid/msg/VM.java b/src/bindings/java/org/simgrid/msg/VM.java index c25f3b73a5..ac8a512561 100644 --- a/src/bindings/java/org/simgrid/msg/VM.java +++ b/src/bindings/java/org/simgrid/msg/VM.java @@ -156,11 +156,9 @@ public class VM extends Host{ */ public void migrate(Host destination) throws HostFailureException{ try { - Msg.info("Migrate begins"); this.internalmig(destination); - Msg.info("Migrate ends"); } catch (Exception e){ - Msg.info("an exception occurs during the migration of VM "+this.getName()); + Msg.info("Migration of VM "+this.getName()+" to "+destination.getName()+" is impossible ("+e.getMessage()+")"); throw new HostFailureException(); } // If the migration correcly returned, then we should change the currentHost value.