]> git.mxchange.org Git - jcustomer-lib.git/commitdiff
added thrown exception
authorRoland Haeder <roland@mxchange.org>
Wed, 9 Sep 2015 09:24:30 +0000 (11:24 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 9 Sep 2015 09:24:30 +0000 (11:24 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/org/mxchange/jshopcore/model/category/CategorySessionBeanRemote.java

index a3243bde79c40b4ec2ed4fa466d91d63108bc384..69af39a8378bf27a81a3120588c2b6734648db8d 100644 (file)
@@ -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