From 5063a5cc86566de7631aa49b64275fa114f5d903 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 10 Jun 2017 21:59:04 +0200 Subject: [PATCH] Please cherry-pick: - gender -> personalData changed MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../org/mxchange/jusercore/model/user/PizzaUserSessionBean.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/mxchange/jusercore/model/user/PizzaUserSessionBean.java b/src/java/org/mxchange/jusercore/model/user/PizzaUserSessionBean.java index 7ecce70..ff095e8 100644 --- a/src/java/org/mxchange/jusercore/model/user/PizzaUserSessionBean.java +++ b/src/java/org/mxchange/jusercore/model/user/PizzaUserSessionBean.java @@ -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 -- 2.39.5