]> git.mxchange.org Git - pizzaservice-mailer-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 20:00:53 +0000 (22:00 +0200)
- gender -> personalData changed

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

index 3ab279d5b554d82f32ae82eb7cb32409328f03c4..783052b8d3874dcc32cf8e25a1e5da22ec56c262 100644 (file)
@@ -626,7 +626,7 @@ public class AddressbookUserSessionBean extends BaseAddressbookDatabaseBean impl
                        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.userAccountStatus 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