From b01360c6a0ab6f0180355fece7047d882f055e26 Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Sat, 2 Aug 2014 13:49:59 -0500 Subject: [PATCH] Remove System.Exit from part API initialization. --- core/api/ApiPart.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/api/ApiPart.java b/core/api/ApiPart.java index 4e088e2c..14f0dba8 100644 --- a/core/api/ApiPart.java +++ b/core/api/ApiPart.java @@ -91,7 +91,7 @@ public class ApiPart implements IPartHelper catch (Exception e) { AELog.error( e ); - System.exit( 1 ); + throw new RuntimeException( "Unable to manage part API.", e ); } return clazz; }