throw new ValidationException(
"missing field name in a description value");
}
try {
DescriptionValue value = workReportLine
.getDescriptionValueByFieldName(valueDTO.fieldName);
value.setValue(StringUtils.trim(valueDTO.value));
} catch (InstanceNotFoundException e) {
throw new ValidationException(
"work report have not any description value with this field name");
}
}