}
@Override
public void addError(Throwable throwable) {
if (throwable.getCause() instanceof DomainConstraintException) {
DomainConstraintException cause = (DomainConstraintException) throwable.getCause();
Collection<String> messages = cause.getMessages();
if (Collections.isNotEmpty(messages)) {
for (String message : messages) {
addError(message);
}