/** * Configures the {@link EngineLauncher} to start an embedded Limbus Environment. This instance of {@link LimbusStage} * needs to acquire exclusive access to the {@link EngineLauncher}. * * @throws Exception * Thrown on any bootstrapping error or if no exclusive access could be acquired. */ public void startStage() throws Exception { hasAccess = stageRunning.tryAcquire(); denyNoAccess(); EngineLauncher.skipSystemExit = true; try { EngineLauncher.bootstrapLimbusSystem(system); deploy(); } catch (Exception e) { stopStage(); throw e; } }