}
IDomainModel domainModel = getDomainModel();
if (domainModel != null) {
ModelMeta modelMeta = domainModel.getModelMeta();
updated = modelMeta.update(this, entity);
}
} catch (Exception e) {
log.error("Error in Entity.update: " + e.getMessage());
throw new ActionException(e.getMessage(), entityAction);
}