From 1e84525af98dcf04a1d3f22ffbf4378e8ca64b64 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Wed, 24 Feb 2016 17:17:20 +0100 Subject: [PATCH] better comment (from copy/paste) --- .../addressbook/model/addressbook/AddressbookSessionBean.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/mxchange/addressbook/model/addressbook/AddressbookSessionBean.java b/src/java/org/mxchange/addressbook/model/addressbook/AddressbookSessionBean.java index 670e369..895f2f1 100644 --- a/src/java/org/mxchange/addressbook/model/addressbook/AddressbookSessionBean.java +++ b/src/java/org/mxchange/addressbook/model/addressbook/AddressbookSessionBean.java @@ -66,7 +66,7 @@ public class AddressbookSessionBean extends BaseDatabaseBean implements Addressb // Throw again NPE throw new NullPointerException("addressbook.addressbookUser.userId is null"); } else if (addressbook.getAddressbookUser().getUserId() < 1) { - // Throw again NPE + // Invalid id number again throw new IllegalArgumentException(MessageFormat.format("addressbook.addressbookUser.userId={0} is invalid", addressbook.getAddressbookUser().getUserId())); } -- 2.39.5