]> git.mxchange.org Git - juser-core.git/commitdiff
output correct data
authorRoland Häder <roland@mxchange.org>
Mon, 2 May 2016 13:20:08 +0000 (15:20 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 2 May 2016 13:23:00 +0000 (15:23 +0200)
src/org/mxchange/jusercore/exceptions/EmailAddressAlreadyRegisteredException.java

index 261933cc88e315296eab43a9bdc55b02d2e60186..c0e1ddf7c2f374fc9dc9bbb7854e7f8ec32325cb 100644 (file)
@@ -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
        }
 
 }