500501502503504505506507508509510
if (Validator.isNull(firstName)) { throw new UserFirstNameException(); } else if (Validator.isNull(lastName)) { throw new UserLastNameException(); } if (!autoUserId) { if (Validator.isNull(userId)) { throw new UserIdException();
615616617618619620621622623624625
if (Validator.isNull(firstName)) { throw new UserFirstNameException(); } else if (Validator.isNull(lastName)) { throw new UserLastNameException(); } User user = UserUtil.findByPrimaryKey(userId); if (!Validator.isEmailAddress(emailAddress)) {