aboutsummaryrefslogtreecommitdiff
path: root/src/uk/org/ury/frontend/exceptions/LoadFailureException.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/uk/org/ury/frontend/exceptions/LoadFailureException.java')
-rw-r--r--src/uk/org/ury/frontend/exceptions/LoadFailureException.java44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/uk/org/ury/frontend/exceptions/LoadFailureException.java b/src/uk/org/ury/frontend/exceptions/LoadFailureException.java
new file mode 100644
index 0000000..691eaa0
--- /dev/null
+++ b/src/uk/org/ury/frontend/exceptions/LoadFailureException.java
@@ -0,0 +1,44 @@
+/**
+ *
+ */
+package uk.org.ury.frontend.exceptions;
+
+
+/**
+ * Exception thrown when the loading of a new frontend module fails.
+ *
+ * @author Matt Windsor
+ */
+
+public class LoadFailureException extends Exception
+{
+ /**
+ *
+ */
+ private static final long serialVersionUID = -7353531873142099828L;
+
+
+/**
+ * Construct a new LoadFailureException with a
+ * default reason.
+ */
+
+ public
+ LoadFailureException ()
+ {
+ super ("Module load failure.");
+ }
+
+
+ /**
+ * Construct a new LoadFailureException.
+ *
+ * @param reason The explanation for the exception.
+ */
+
+ public
+ LoadFailureException (String reason)
+ {
+ super (reason);
+ }
+}