From: Roland Häder Date: Mon, 2 May 2016 13:20:08 +0000 (+0200) Subject: output correct data X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f0a86e27146c4737bd2d1043509494dac47a9af2;p=juser-activity-core.git output correct data --- diff --git a/src/org/mxchange/jusercore/exceptions/EmailAddressAlreadyRegisteredException.java b/src/org/mxchange/jusercore/exceptions/EmailAddressAlreadyRegisteredException.java index 261933c..c0e1ddf 100644 --- a/src/org/mxchange/jusercore/exceptions/EmailAddressAlreadyRegisteredException.java +++ b/src/org/mxchange/jusercore/exceptions/EmailAddressAlreadyRegisteredException.java @@ -38,7 +38,7 @@ public class EmailAddressAlreadyRegisteredException extends Exception { */ public EmailAddressAlreadyRegisteredException (final User user) { // Call super contructor - super(MessageFormat.format("User {0} already registered with number {1} at record id {2}. Maybe forgot to call isRegistered(user) ?", user, user.getUserName(), user.getUserId())); + super(MessageFormat.format("Email address {0} already registered.", user.getUserContact().getContactEmailAddress())); //NOI18N } }