public Map<String, Object> getVariablesLocal(String caseExecutionId, Collection<String> variableNames) {
try {
return commandExecutor.execute(new GetCaseExecutionVariablesCmd(caseExecutionId, variableNames, true));
} catch (NullValueException e) {
throw new NotValidException(e.getMessage(), e);
} catch (CaseExecutionNotFoundException e) {
throw new NotFoundException(e.getMessage(), e);
}