X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dcfc5e64fe6bd50e160375dcdc5b480cba75217f..f06041cf2c450457a0b47a49b66b19cb9133c18e:/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 5efe9f2254..c6a522087f 100644 --- a/src/bindings/java/org/simgrid/msg/VM.java +++ b/src/bindings/java/org/simgrid/msg/VM.java @@ -156,8 +156,8 @@ public class VM extends Host{ try { this.internalmig(destination); } catch (Exception e){ - Msg.info("an exception occurs during the migration of VM "+this.getName()); - throw new HostFailureException(); + 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. this.currentHost = destination;