diff options
Diffstat (limited to 'src/uk/org/ury/frontend/FrontendError.java')
-rw-r--r-- | src/uk/org/ury/frontend/FrontendError.java | 15 |
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); + } } |