Forgot to change Application to use the interface ExceptionHandler instead of the...
authorkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Mon, 19 Dec 2011 22:12:41 +0000 (22:12 +0000)
committerkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Mon, 19 Dec 2011 22:12:41 +0000 (22:12 +0000)
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@238 180e2498-e6e9-4542-8430-84ac67f01cd8

src/net/sf/openrocket/startup/Application.java

index da80895abe56c79df3e244402ea71eb6db1b4fe2..9ced3a34f0981ee231f7f98fc51cc6eb41b11712 100644 (file)
@@ -1,7 +1,6 @@
 package net.sf.openrocket.startup;
 
 import net.sf.openrocket.database.ThrustCurveMotorSetDatabase;
-import net.sf.openrocket.gui.main.SwingExceptionHandler;
 import net.sf.openrocket.l10n.ClassBasedTranslator;
 import net.sf.openrocket.l10n.DebugTranslator;
 import net.sf.openrocket.l10n.ExceptionSuppressingTranslator;
@@ -27,7 +26,7 @@ public final class Application {
 
        private static Preferences preferences;
        
-       private static SwingExceptionHandler exceptionHandler;
+       private static ExceptionHandler exceptionHandler;
 
        // Initialize the logger to something sane for testing without executing Startup
        static {
@@ -136,14 +135,14 @@ public final class Application {
        /**
         * @return the exceptionHandler
         */
-       public static SwingExceptionHandler getExceptionHandler() {
+       public static ExceptionHandler getExceptionHandler() {
                return exceptionHandler;
        }
 
        /**
         * @param exceptionHandler the exceptionHandler to set
         */
-       public static void setExceptionHandler(SwingExceptionHandler exceptionHandler) {
+       public static void setExceptionHandler(ExceptionHandler exceptionHandler) {
                Application.exceptionHandler = exceptionHandler;
        }