Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7251 48e7efb5...
authorcoldpeace <coldpeace@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 15 Mar 2010 10:41:51 +0000 (10:41 +0000)
committercoldpeace <coldpeace@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 15 Mar 2010 10:41:51 +0000 (10:41 +0000)
src/java/simgrid/msg/TimeoutFailureException.java [new file with mode: 0644]

diff --git a/src/java/simgrid/msg/TimeoutFailureException.java b/src/java/simgrid/msg/TimeoutFailureException.java
new file mode 100644 (file)
index 0000000..4c1b226
--- /dev/null
@@ -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 time's out while sending tasks.
+ */
+public class TimeoutFailureException extends MsgException {
+       private static final long serialVersionUID = 1L;
+
+       /** Constructs an <code>TimeoutFailureException</code> without a detail message. */ 
+       public TimeoutFailureException() {
+               super();
+       }
+       /**
+        * Constructs an <code>TransferFailureException</code> with a detail message. 
+        *
+        * @param   s   the detail message.
+        */
+       public TimeoutFailureException(String s) {
+               super(s);
+       }
+}