]> git.mxchange.org Git - jfinancials-war.git/commitdiff
ignored for i18n
authorRoland Haeder <roland@mxchange.org>
Sat, 17 Oct 2015 18:56:46 +0000 (20:56 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 17 Oct 2015 18:56:46 +0000 (20:56 +0200)
src/java/org/mxchange/addressbook/beans/profile/UserProfileWebBean.java

index c9e6e3bad3d323df91ba12a0681db92ef86e6a49..eb7923f05ad8e28324d2520bc4e296a317e2991f 100644 (file)
@@ -73,16 +73,16 @@ public class UserProfileWebBean implements UserProfileWebController {
                // Check on user
                if (null == user) {
                        // Throw NPE
-                       throw new NullPointerException("user is null");
+                       throw new NullPointerException("user is null"); //NOI18N
                } else if (user.getUserId() == null) {
                        // Throw NPE again
-                       throw new NullPointerException("user.userId is null");
+                       throw new NullPointerException("user.userId is null"); //NOI18N
                } else if (user.getUserId() < 1) {
                        // Invalid id
-                       throw new IllegalArgumentException(MessageFormat.format("user.userId={0} is invalid", user.getUserId()));
+                       throw new IllegalArgumentException(MessageFormat.format("user.userId={0} is invalid", user.getUserId())); //NOI18N
                } else if (user.getUserProfileMode() == null) {
                        // And another NPE ...
-                       throw new NullPointerException("user.userProfileMode is null");
+                       throw new NullPointerException("user.userProfileMode is null"); //NOI18N
                }
 
                // Default profile mode is not visible