]> git.mxchange.org Git - juser-lib.git/commitdiff
Updated jars + included exceptions
authorRoland Haeder <roland@mxchange.org>
Tue, 6 Oct 2015 15:07:21 +0000 (17:07 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 6 Oct 2015 15:07:21 +0000 (17:07 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
lib/juser-core.jar
src/org/mxchange/jusercore/model/user/UserSessionBeanRemote.java

index 9f4d28016bd74ed088844f6a0089b4ec33c9129f..492d4c75f42054b33e4f98fabe48d2dace5f0f7b 100644 (file)
Binary files a/lib/juser-core.jar and b/lib/juser-core.jar differ
index a5b944975aa43ec9213f331db40f30bbb23fdd3d..b068f60f9b61dfe7178d006e225ac7674e861354 100644 (file)
@@ -18,7 +18,8 @@ package org.mxchange.jusercore.model.user;
 
 import java.io.Serializable;
 import javax.ejb.Remote;
-import org.mxchange.jusercore.exceptions.UserAlreadyRegisteredException;
+import org.mxchange.jusercore.exceptions.EmailAddressAlreadyRegisteredException;
+import org.mxchange.jusercore.exceptions.UserNameAlreadyRegisteredException;
 
 /**
  * An interface for user beans
@@ -49,7 +50,8 @@ public interface UserSessionBeanRemote extends Serializable {
         * <p>
         * @param user Initial customer instance
         * @return Prepared Customer instance
-        * @throws org.mxchange.jusercore.exceptions.UserAlreadyRegisteredException If the user is already registered.
+        * @throws org.mxchange.jusercore.exceptions.UserNameAlreadyRegisteredException If the user's user name is already registered.
+        * @throws org.mxchange.jusercore.exceptions.EmailAddressAlreadyRegisteredException If the user's email address is already registered.
         */
-       public User registerUser (final User user) throws UserAlreadyRegisteredException;
+       public User registerUser (final User user) throws UserNameAlreadyRegisteredException, EmailAddressAlreadyRegisteredException;
 }