From 600f451a34a7fa2044fe2aea2b71d5601241f942 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Wed, 9 Sep 2015 11:24:30 +0200 Subject: [PATCH] =?utf8?q?added=20thrown=20exception=20Signed-off-by:Rolan?= =?utf8?q?d=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../jshopcore/model/category/CategorySessionBeanRemote.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/org/mxchange/jshopcore/model/category/CategorySessionBeanRemote.java b/src/org/mxchange/jshopcore/model/category/CategorySessionBeanRemote.java index a3243bd..69af39a 100644 --- a/src/org/mxchange/jshopcore/model/category/CategorySessionBeanRemote.java +++ b/src/org/mxchange/jshopcore/model/category/CategorySessionBeanRemote.java @@ -20,6 +20,7 @@ import java.io.Serializable; import java.rmi.RemoteException; import java.util.Deque; import javax.ejb.Remote; +import org.mxchange.jshopcore.exceptions.CategoryTitleAlreadyUsedException; /** * A remote-call interface for the shop @@ -34,9 +35,10 @@ public interface CategorySessionBeanRemote extends Serializable { * admin area. * * @param category Category instance + * @throws org.mxchange.jshopcore.exceptions.CategoryTitleAlreadyUsedException If the given category title is already used * @throws java.rmi.RemoteException If anything went wrong */ - public void doAdminAddCategory (final Category category) throws RemoteException; + public void doAdminAddCategory (final Category category) throws CategoryTitleAlreadyUsedException, RemoteException; /** * Some "getter" for a linked list of all categories -- 2.39.5