if (result == null) {
throw new MissingEntityException(ScheduleExecutionResult.class, scheduleExecutionResultId);
}
if (result.getFinished() != null) {
throw new ResultAlreadyFinishedException(result.getId());
}
result.setFinished(chronometer.getCurrentMoment());
result.setSucceed(succeed);
result.setPayload(data);