]> git.mxchange.org Git - juser-core.git/commitdiff
Fixed wrong pattern field
authorRoland Haeder <roland@mxchange.org>
Thu, 14 Apr 2016 13:16:32 +0000 (15:16 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 14 Apr 2016 13:28:02 +0000 (15:28 +0200)
src/org/mxchange/jusercore/exceptions/UserNameAlreadyRegisteredException.java

index 29c8ba09d24f409a76eee2f79ad45bbe6f56eb61..dabf4519839bb3d3cb687e39322208c8fc30c3b4 100644 (file)
@@ -38,6 +38,7 @@ public class UserNameAlreadyRegisteredException extends Exception {
         */
        public UserNameAlreadyRegisteredException (final User user) {
                // Call super contructor
-               super(MessageFormat.format("User name {0} already registered at record id {2}. Maybe forgot to call isRegistered(user) ?", user.getUserName(), user.getUserId()));
+               super(MessageFormat.format("User name {0} already registered at record id {1}. Maybe forgot to call isRegistered(user) ?", user.getUserName(), user.getUserId()));
        }
+
 }