- no gender, there is "personal title" for Mr./Mrs.
Signed-off-by: Roland Häder <roland@mxchange.org>
} else if (user.getUserContact().getContactId() < 1) {
// Invalid id
throw new IllegalArgumentException(MessageFormat.format("user.userContact.contactId={0} is invalid", user.getUserContact().getContactId())); //NOI18N
- } else if (user.getUserContact().getContactGender() == null) {
+ } else if (user.getUserContact().getContactPersonalTitle() == null) {
// Throw NPE again
throw new NullPointerException("user.userContact.contactGender is null"); //NOI18N
} else if (!this.ifUserExists(user)) {