From: Roland Haeder Date: Thu, 14 Apr 2016 13:16:32 +0000 (+0200) Subject: Fixed wrong pattern field X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fcab24513079f20ce70a0667f01dae536149075c;p=juser-core.git Fixed wrong pattern field --- diff --git a/src/org/mxchange/jusercore/exceptions/UserNameAlreadyRegisteredException.java b/src/org/mxchange/jusercore/exceptions/UserNameAlreadyRegisteredException.java index 29c8ba0..dabf451 100644 --- a/src/org/mxchange/jusercore/exceptions/UserNameAlreadyRegisteredException.java +++ b/src/org/mxchange/jusercore/exceptions/UserNameAlreadyRegisteredException.java @@ -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())); } + }