--- /dev/null
+/*
+ * This exception is raised when looking for a non-existing host.
+ *
+ * Copyright 2006,2007,2010 The SimGrid Team
+ * All right reserved.
+ *
+ * This program is free software; you can redistribute
+ * it and/or modify it under the terms of the license
+ * (GNU LGPL) which comes with this package.
+ */
+
+package simgrid.msg;
+
+/**
+ * This exception is raised when The host on which you are running has just been rebooted.
+ */
+public class HostFailureException extends MsgException {
+ private static final long serialVersionUID = 1L;
+
+ /** Constructs an <code>HostFailureException</code> without a detail message. */
+ public HostFailureException() {
+ super();
+ }
+ /**
+ * Constructs an <code>HostFailureException</code> with a detail message.
+ *
+ * @param s the detail message.
+ */
+ public HostFailureException(String s) {
+ super(s);
+ }
+}
--- /dev/null
+/*
+ * This exception is raised when looking for a non-existing host.
+ *
+ * Copyright 2006,2007,2010 The SimGrid Team
+ * All right reserved.
+ *
+ * This program is free software; you can redistribute
+ * it and/or modify it under the terms of the license
+ * (GNU LGPL) which comes with this package.
+ */
+
+package simgrid.msg;
+
+/**
+ * This exception is raised if transfer failed while sending tasks.
+ */
+public class TransferFailureException extends MsgException {
+ private static final long serialVersionUID = 1L;
+
+ /** Constructs an <code>TransferFailureException</code> without a detail message. */
+ public TransferFailureException() {
+ super();
+ }
+ /**
+ * Constructs an <code>TransferFailureException</code> with a detail message.
+ *
+ * @param s the detail message.
+ */
+ public TransferFailureException(String s) {
+ super(s);
+ }
+}