// Contact should be set
if (next.getUserContact() == null) {
// Contact is null
- throw new NullPointerException(MessageFormat.format("next.userContact is null for user id {0}", + next.getUserId()));
+ throw new NullPointerException(MessageFormat.format("next.userContact is null for user id {0}", next.getUserId())); //NOI18N
} else if (next.getUserContact().getContactEmailAddress() == null) {
// Email address should be set
- throw new NullPointerException(MessageFormat.format("next.userContact.contactEmailAddress is null for user id {0}", next.getUserId()));
+ throw new NullPointerException(MessageFormat.format("next.userContact.contactEmailAddress is null for user id {0}", next.getUserId())); //NOI18N //NOI18N
}
// Is the email address found?