From fcab24513079f20ce70a0667f01dae536149075c Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 14 Apr 2016 15:16:32 +0200 Subject: [PATCH] Fixed wrong pattern field --- .../exceptions/UserNameAlreadyRegisteredException.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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())); } + } -- 2.39.5