Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move Java sources (Java files) to src/bindings/java/org/.
[simgrid.git] / src / bindings / java / org / simgrid / msg / TimeoutException.java
diff --git a/src/bindings/java/org/simgrid/msg/TimeoutException.java b/src/bindings/java/org/simgrid/msg/TimeoutException.java
new file mode 100644 (file)
index 0000000..edd4091
--- /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 org.simgrid.msg;
+
+/**
+ * This exception is raised when time's out while sending tasks.
+ */
+public class TimeoutException extends MsgException {
+       private static final long serialVersionUID = 1L;
+
+       /** Constructs an <code>TimeoutFailureException</code> without a detail message. */ 
+       public TimeoutException() {
+               super();
+       }
+       /**
+        * Constructs an <code>TransferFailureException</code> with a detail message. 
+        *
+        * @param   s   the detail message.
+        */
+       public TimeoutException(String s) {
+               super(s);
+       }
+}