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 / ProcessKilledError.java
diff --git a/src/bindings/java/org/simgrid/msg/ProcessKilledError.java b/src/bindings/java/org/simgrid/msg/ProcessKilledError.java
new file mode 100644 (file)
index 0000000..5f7e327
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+ * Copyright 2006-2012 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 error class is only used to interrupt the java user code 
+ * when the process gets killed by an external event.
+ * Don't catch it.
+ */
+
+public class ProcessKilledError extends Error {
+       private static final long serialVersionUID = 1L;
+       public ProcessKilledError(String s) {
+               super(s);
+       }
+}