]> git.mxchange.org Git - pizzaservice-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:47 +0000 (21:59 +0200)
- gender -> personalData changed

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

index 7ecce709c6170cfe07a5210e45b3da67dd595029..ff095e8b098fdd25500e4c4f482714f1e1718d00 100644 (file)
@@ -629,7 +629,7 @@ public class PizzaUserSessionBean extends BasePizzaDatabaseBean implements UserS
                        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