protected VariableMap getCaseExecutionVariables(String caseExecutionId, Collection<String> variableNames, boolean isLocal, boolean deserializeValues) {
try {
return commandExecutor.execute(new GetCaseExecutionVariablesCmd(caseExecutionId, variableNames, isLocal, deserializeValues));
}
catch (NullValueException e) {
throw new NotValidException(e.getMessage(), e);
}
catch (CaseExecutionNotFoundException e) {
throw new NotFoundException(e.getMessage(), e);
}
}