From: coldpeace Date: Mon, 15 Mar 2010 10:07:28 +0000 (+0000) Subject: git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7249 48e7efb5... X-Git-Tag: SVN~490 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a3e91f11ae040c35d9dc3d2b319017607cd66909 git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7249 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/java/simgrid/msg/HostFailureException.java b/src/java/simgrid/msg/HostFailureException.java new file mode 100644 index 0000000000..dfa65f19ec --- /dev/null +++ b/src/java/simgrid/msg/HostFailureException.java @@ -0,0 +1,32 @@ +/* + * 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 HostFailureException without a detail message. */ + public HostFailureException() { + super(); + } + /** + * Constructs an HostFailureException with a detail message. + * + * @param s the detail message. + */ + public HostFailureException(String s) { + super(s); + } +} diff --git a/src/java/simgrid/msg/TransferFailureException.java b/src/java/simgrid/msg/TransferFailureException.java new file mode 100644 index 0000000000..e1f90cd5a7 --- /dev/null +++ b/src/java/simgrid/msg/TransferFailureException.java @@ -0,0 +1,32 @@ +/* + * 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 TransferFailureException without a detail message. */ + public TransferFailureException() { + super(); + } + /** + * Constructs an TransferFailureException with a detail message. + * + * @param s the detail message. + */ + public TransferFailureException(String s) { + super(s); + } +}