From d457e9c1cfd90c2002355ccdcfc0b429360ef710 Mon Sep 17 00:00:00 2001 From: hades Date: Mon, 16 Mar 2020 16:21:08 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/fr/start/MainDesigner.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/designer-realize/src/main/java/com/fr/start/MainDesigner.java b/designer-realize/src/main/java/com/fr/start/MainDesigner.java index a52efdde78..cac05f841e 100644 --- a/designer-realize/src/main/java/com/fr/start/MainDesigner.java +++ b/designer-realize/src/main/java/com/fr/start/MainDesigner.java @@ -59,6 +59,7 @@ import com.fr.stable.ProductConstants; import com.fr.stable.StableUtils; import com.fr.stable.StringUtils; import com.fr.stable.lifecycle.ErrorType; +import com.fr.stable.lifecycle.FineLifecycleFatalError; import com.fr.stable.lifecycle.LifecycleFatalError; import com.fr.stable.project.ProjectConstants; import com.fr.stable.xml.XMLTools; @@ -115,9 +116,9 @@ public class MainDesigner extends BaseDesigner { //启动运行时 FineRuntime.start(); DesignerSubListener.getInstance().start(); - EventDispatcher.listen(LifecycleErrorEvent.SELF, new Listener() { + EventDispatcher.listen(LifecycleErrorEvent.SELF, new Listener() { @Override - public void on(Event event, LifecycleFatalError param) { + public void on(Event event, FineLifecycleFatalError param) { afterError(param); } }); @@ -126,7 +127,7 @@ public class MainDesigner extends BaseDesigner { designerRoot.setSingleton(StartupArgs.class, new StartupArgs(args)); try { designerRoot.start(); - } catch (LifecycleFatalError fatal) { + } catch (FineLifecycleFatalError fatal) { afterError(fatal); }