X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fnet%2Fsf%2Fopenrocket%2Futil%2FFatalException.java;fp=src%2Fnet%2Fsf%2Fopenrocket%2Futil%2FFatalException.java;h=b50feef1f5153705fbb8889862a59b973d2f1f41;hb=c72e1c03cc0d15e11368707c38721d506ce356b9;hp=0000000000000000000000000000000000000000;hpb=d23932f311312abb73801262a80ef2f6bc66818d;p=debian%2Fopenrocket diff --git a/src/net/sf/openrocket/util/FatalException.java b/src/net/sf/openrocket/util/FatalException.java new file mode 100644 index 00000000..b50feef1 --- /dev/null +++ b/src/net/sf/openrocket/util/FatalException.java @@ -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 + * @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); + } + +}