Fieldlanguagesvalues typeValue = fieldmanagment
.getFieldByIdAndLanguage(errorManagement
.getErrorType(eValues.getErrortype_id())
.getFieldvalues_id(), language_id);
if (errorValue != null) {
return new ErrorResult(errorid, errorValue.getValue(),
typeValue.getValue());
}
}
} else {
return new ErrorResult(errorid,
"Error ... please check your input", "Error");
}
} catch (Exception err) {
log.error("[getErrorByCode] ", err);
}