From: Roland Haeder Date: Tue, 6 Oct 2015 15:07:21 +0000 (+0200) Subject: Updated jars + included exceptions X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=969b06921d155722bfbbe2a80ee8a4bbafa7ef37;p=juser-login-lib.git Updated jars + included exceptions Signed-off-by: Roland Häder --- diff --git a/lib/juser-core.jar b/lib/juser-core.jar index 9f4d280..492d4c7 100644 Binary files a/lib/juser-core.jar and b/lib/juser-core.jar differ diff --git a/src/org/mxchange/jusercore/model/user/UserSessionBeanRemote.java b/src/org/mxchange/jusercore/model/user/UserSessionBeanRemote.java index a5b9449..b068f60 100644 --- a/src/org/mxchange/jusercore/model/user/UserSessionBeanRemote.java +++ b/src/org/mxchange/jusercore/model/user/UserSessionBeanRemote.java @@ -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 { *

* @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; }