557558559560561562563564565566567
else { try { User user = UserUtil.findByC_EA(companyId, emailAddress); if (user != null) { throw new DuplicateUserEmailAddressException(); } } catch (NoSuchUserException nsue) { }
629630631632633634635636637638639
try { if (!user.getEmailAddress().equals(emailAddress)) { if (UserUtil.findByC_EA( user.getCompanyId(), emailAddress) != null) { throw new DuplicateUserEmailAddressException(); } } } catch (NoSuchUserException nsue) { }