Updates for 0.9.5
[debian/openrocket] / src / net / sf / openrocket / util / FatalException.java
diff --git a/src/net/sf/openrocket/util/FatalException.java b/src/net/sf/openrocket/util/FatalException.java
new file mode 100644 (file)
index 0000000..b50feef
--- /dev/null
@@ -0,0 +1,28 @@
+package net.sf.openrocket.util;
+
+/**
+ * A superclass for all types of fatal error conditions.  This class is
+ * abstract so only subclasses can be used.
+ * 
+ * @author Sampo Niskanen <sampo.niskanen@iki.fi>
+ * @see BugException
+ * @see ConfigurationException
+ */
+public abstract class FatalException extends RuntimeException {
+
+       public FatalException() {
+       }
+
+       public FatalException(String message) {
+               super(message);
+       }
+
+       public FatalException(Throwable cause) {
+               super(cause);
+       }
+
+       public FatalException(String message, Throwable cause) {
+               super(message, cause);
+       }
+
+}