From f0a86e27146c4737bd2d1043509494dac47a9af2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 2 May 2016 15:20:08 +0200 Subject: [PATCH] output correct data --- .../exceptions/EmailAddressAlreadyRegisteredException.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } } -- 2.39.5