public Object getVariableLocal(String caseExecutionId, String variableName) {
try {
return commandExecutor.execute(new GetCaseExecutionVariableCmd(caseExecutionId, variableName, true));
} catch (NullValueException e) {
throw new NotValidException(e.getMessage(), e);
} catch (CaseExecutionNotFoundException e) {
throw new NotFoundException(e.getMessage(), e);
}