User existingUser = findByEmailAddress(emailAddress);
if (existingUser != null)
{
if (existingUser.equals(user))
return;
throw new DuplicateUserEmailAddressException("email address " + emailAddress.getAddress() + " already in use");
}
userEmailAddressDao.save(new UserEmailAddress(user, emailAddress));
}