}
@SuppressWarnings("unchecked")
protected <T extends TypedValue> T getCaseExecutionVariableTyped(String caseExecutionId, String variableName, boolean isLocal, boolean deserializeValue) {
try {
return (T) commandExecutor.execute(new GetCaseExecutionVariableTypedCmd(caseExecutionId, variableName, isLocal, deserializeValue));
}
catch (NullValueException e) {
throw new NotValidException(e.getMessage(), e);
}
catch (CaseExecutionNotFoundException e) {