aboutsummaryrefslogtreecommitdiff
path: root/src/uk/org/ury/frontend/FrontendError.java
diff options
context:
space:
mode:
authorMatt Windsor <matt@deling.(none)>2011-03-18 08:28:09 +0000
committerMatt Windsor <matt@deling.(none)>2011-03-18 08:28:09 +0000
commitd547f87da5f68c12dede7c9d45618cae11ff5699 (patch)
tree613aa95d94b363c72ba9a7be639c74f76edf81f8 /src/uk/org/ury/frontend/FrontendError.java
parentc8bb324e757587e742df0824304144e1eb881cee (diff)
Mega-commit to the rescue! Added Javadoc snapshot (admittedly old); show UI now fixed-layout; UI uses system selection colours for accents; now uses bapsserver password and can thus talk to show database relations; removed member relation dependencies until further notice; attempted to get application and applet launchers working but having issues with the latter; started working on a server communicating via a minimal implementation of HTTP 1.1 (standardisation required eventually).
Diffstat (limited to 'src/uk/org/ury/frontend/FrontendError.java')
-rw-r--r--src/uk/org/ury/frontend/FrontendError.java15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/uk/org/ury/frontend/FrontendError.java b/src/uk/org/ury/frontend/FrontendError.java
index a08b966..4a13c0a 100644
--- a/src/uk/org/ury/frontend/FrontendError.java
+++ b/src/uk/org/ury/frontend/FrontendError.java
@@ -29,8 +29,8 @@ public class FrontendError
/**
* Create an error dialogue to report a fatal error.
*
- * @string message The message, eg the exception message,
- * to report to the user.
+ * @param message The message, eg the exception message,
+ * to report to the user.
*/
public static void
@@ -47,4 +47,15 @@ public class FrontendError
System.exit (-1);
}
+
+
+ public static void
+ reportFatal (String message, FrontendApplet panel)
+ {
+ // TODO: Log
+
+ // TODO: Error dialogue
+
+ System.out.println (message);
+ }
}