Source:
<code>public IStatus execute() throws InterruptedException { launch.resetState(); PrepareEnvironment prepareEnvironment = Q7CoreFactory.eINSTANCE .createPrepareEnvironment(); SetCommandsDelay commandsDelay = Q7CoreFactory.eINSTANCE.createSetCommandsDelay(); commandsDelay.setDelay(Q7.INSTANCE.getCommandsExecutionDelay()); TeslaFeatures.getInstance().getOption(TeslaFeatures.COMMAND_EXECUTION_DELAY) .setValue(Integer.toString(commandsDelay.getDelay())); SetQ7Features setQ7Features = Q7CoreFactory.eINSTANCE.createSetQ7Features(); Q7LaunchUtils.setQ7Variable(setQ7Features, Q7LaunchUtils.Q7_CURRENT_TEST_VAR, getName()); TeslaFeatures.getInstance().storeValues(setQ7Features.getFeatures()); Q7Features.getInstance().storeValues(setQ7Features.getFeatures()); Sequence command = ScriptletFactory.seq(prepareEnvironment, commandsDelay, setQ7Features); try { launch.execute(command); resetParams(); resetVerifications(); } catch (CoreException e) { IStatus status = e.getStatus(); <START> IStatus newStatus = new Status(IStatus.ERROR, status.getPlugin(), IProcess.INTERNAL_AUT_FAILURE, <END> status.getMessage(), status.getException()); return ExecAdvancedInfoUtil.askForAdvancedInfo(launch, newStatus); } catch (Exception e) { return Q7LaunchingPlugin.createStatus(e); } try { createReport(); } catch (CoreException e) { return e.getStatus(); } if (executable instanceof GroupExecutable) { IExecutable rootExecutable = ((GroupExecutable) executable).getRoot(); if (rootExecutable instanceof EclScenarioExecutable) { EclScenarioExecutable scenario = (EclScenarioExecutable) rootExecutable; TestEngineManager.getInstance().fireExecutionStarted(scenario); } } return executable.execute(); }</code><technical_language>Lost original code. MultiStatus store full original status a new code</technical_language>

Target:
public IStatus execute() throws InterruptedException { launch.resetState(); PrepareEnvironment prepareEnvironment = Q7CoreFactory.eINSTANCE .createPrepareEnvironment(); SetCommandsDelay commandsDelay = Q7CoreFactory.eINSTANCE.createSetCommandsDelay(); commandsDelay.setDelay(Q7.INSTANCE.getCommandsExecutionDelay()); TeslaFeatures.getInstance().getOption(TeslaFeatures.COMMAND_EXECUTION_DELAY) .setValue(Integer.toString(commandsDelay.getDelay())); SetQ7Features setQ7Features = Q7CoreFactory.eINSTANCE.createSetQ7Features(); Q7LaunchUtils.setQ7Variable(setQ7Features, Q7LaunchUtils.Q7_CURRENT_TEST_VAR, getName()); TeslaFeatures.getInstance().storeValues(setQ7Features.getFeatures()); Q7Features.getInstance().storeValues(setQ7Features.getFeatures()); Sequence command = ScriptletFactory.seq(prepareEnvironment, commandsDelay, setQ7Features); try { launch.execute(command); resetParams(); resetVerifications(); } catch (CoreException e) { IStatus status = e.getStatus(); MultiStatus multiStatus = new MultiStatus(status.getPlugin(), IProcess.INTERNAL_AUT_FAILURE, "Internal aut failure", e); multiStatus.add(status); return ExecAdvancedInfoUtil.askForAdvancedInfo(launch, multiStatus); } catch (Exception e) { return Q7LaunchingPlugin.createStatus(e); } try { createReport(); } catch (CoreException e) { return e.getStatus(); } if (executable instanceof GroupExecutable) { IExecutable rootExecutable = ((GroupExecutable) executable).getRoot(); if (rootExecutable instanceof EclScenarioExecutable) { EclScenarioExecutable scenario = (EclScenarioExecutable) rootExecutable; TestEngineManager.getInstance().fireExecutionStarted(scenario); } } return executable.execute(); }