From: Roland Häder Date: Sat, 10 Jun 2017 19:59:04 +0000 (+0200) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1427b6141d7ba9370dbf36b86acbcee925584802;p=jjobs-ejb.git Please cherry-pick: - gender -> personalData changed Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/jusercore/model/user/JobsUserSessionBean.java b/src/java/org/mxchange/jusercore/model/user/JobsUserSessionBean.java index 66b4c50..dc9f1ae 100644 --- a/src/java/org/mxchange/jusercore/model/user/JobsUserSessionBean.java +++ b/src/java/org/mxchange/jusercore/model/user/JobsUserSessionBean.java @@ -629,7 +629,7 @@ public class JobsUserSessionBean extends BaseJobsDatabaseBean implements UserSes throw new IllegalArgumentException(MessageFormat.format("user.userContact.contactId={0} is invalid", user.getUserContact().getContactId())); //NOI18N } else if (user.getUserContact().getContactPersonalTitle() == null) { // Throw NPE again - throw new NullPointerException("user.userContact.contactGender is null"); //NOI18N + throw new NullPointerException("user.userContact.contactPersonalTitle is null"); //NOI18N } else if (!this.ifUserExists(user)) { // User does not exist throw new EJBException(MessageFormat.format("User with id {0} does not exist.", user.getUserId())); //NOI18N