]> git.mxchange.org Git - jjobs-ejb.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sat, 10 Jun 2017 19:59:04 +0000 (21:59 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 10 Jun 2017 19:59:04 +0000 (21:59 +0200)
- gender -> personalData changed

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jusercore/model/user/JobsUserSessionBean.java

index 66b4c50e5d72abe03760c0139ce85cdf1283ecac..dc9f1ae4901b1d5ce0ae26b6518459445de89cde 100644 (file)
@@ -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