]> git.mxchange.org Git - juser-login-core.git/blobdiff - src/org/mxchange/jusercore/container/login/UserLoginContainer.java
Don't do these checks on login phase as they are only available after login
[juser-login-core.git] / src / org / mxchange / jusercore / container / login / UserLoginContainer.java
index 267f70a2f8c71038f8c3fb35d8f221e297e7173e..f54a3ba0a4496e7e000c991b2d9d7a6d345b2af0 100644 (file)
@@ -50,13 +50,13 @@ public class UserLoginContainer implements LoginContainer {
                // Is both set?
                if (null == user) {
                        // Throw NPE
-                       throw new NullPointerException("user is null");
+                       throw new NullPointerException("user is null"); //NOI18N
                } else if (null == userPassword) {
                        // Throw NPE again
-                       throw new NullPointerException("userPassword is null");
+                       throw new NullPointerException("userPassword is null"); //NOI18N
                } else if (userPassword.isEmpty()) {
                        // Empty password
-                       throw new IllegalArgumentException("user password is empty.");
+                       throw new IllegalArgumentException("user password is empty."); //NOI18N
                }
 
                // Set both