/*
 * Copyright (c) 2014 - M-net Telekommunikations GmbH
 * All rights reserved.
 * -------------------------------------------------------
 * File created: 06.10.2014
 */
package de.consol.sakuli.services;

import de.consol.sakuli.loader.BeanLoader;

import java.io.FileNotFoundException;
import java.util.Map;

/**
 * @author Tobias Schneck
 */
public class InitializingServiceHelper {
    /**
     * Invokes all available InitializingServices to init the test suite data.
     *
     * @throws FileNotFoundException
     */
    public static void invokeInitializingServcies() throws FileNotFoundException {
        Map<String, InitializingService> initializingServices = BeanLoader.loadMultipleBeans(InitializingService.class);
        for (InitializingService initializingService : initializingServices.values()) {
            initializingService.initTestSuite();
        }
    }
}

@@ -201,16 +201,73 @@
 vices;%0A%0A
+import de.consol.sakuli.exceptions.SakuliProxyException;%0A
 import d
@@ -869,16 +869,38 @@
 es()) %7B%0A
+            try %7B%0A    
         
@@ -940,16 +940,169 @@
 uite();%0A
+            %7D catch (SakuliProxyException e) %7B%0A                BeanLoader.loadBaseActionLoader().getExceptionHandler().handleException(e);%0A            %7D%0A
         

add exception handling for InitializingServiceHelper