From: Roland Häder Date: Thu, 25 Aug 2016 13:02:32 +0000 (+0200) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ff9726b85dc61e74d9ae0cb85e2dd761e8ab6dd2;p=jjobs-lib.git Please cherry-pick: - throw checked exceptions, having some nice feedback from EJB --- diff --git a/src/org/mxchange/jjobs/beans/resendlink/ResendLinkSessionBeanRemote.java b/src/org/mxchange/jjobs/beans/resendlink/ResendLinkSessionBeanRemote.java index 83bbd09..83b59bb 100644 --- a/src/org/mxchange/jjobs/beans/resendlink/ResendLinkSessionBeanRemote.java +++ b/src/org/mxchange/jjobs/beans/resendlink/ResendLinkSessionBeanRemote.java @@ -19,6 +19,9 @@ package org.mxchange.jjobs.beans.resendlink; import java.io.Serializable; import java.util.Locale; import javax.ejb.Remote; +import org.mxchange.jusercore.exceptions.UserNotFoundException; +import org.mxchange.jusercore.exceptions.UserStatusConfirmedException; +import org.mxchange.jusercore.exceptions.UserStatusLockedException; import org.mxchange.jusercore.model.user.User; /** @@ -38,7 +41,11 @@ public interface ResendLinkSessionBeanRemote extends Serializable { * @param user User instance * @param locale Locale instance * @param baseUrl Base URL + *

+ * @throws UserNotFoundException When the user is not found + * @throws UserStatusConfirmedException User account is already confirmed + * @throws UserStatusLockedException User account is locked */ - void resendConfirmationLink (final User user, final Locale locale, final String baseUrl); + void resendConfirmationLink (final User user, final Locale locale, final String baseUrl) throws UserNotFoundException, UserStatusConfirmedException, UserStatusLockedException; }