]> git.mxchange.org Git - jcustomer-lib.git/blobdiff - src/org/mxchange/jshopcore/model/category/AdminCategorySessionBeanRemote.java
Introduced new exceptions
[jcustomer-lib.git] / src / org / mxchange / jshopcore / model / category / AdminCategorySessionBeanRemote.java
index cf1ef1923df53cb0afcbbe6c1e5d5da72a52f94a..6217ca0b483c657a87074b60c14bab442781054a 100644 (file)
@@ -19,6 +19,7 @@ package org.mxchange.jshopcore.model.category;
 import java.io.Serializable;
 import java.rmi.RemoteException;
 import javax.ejb.Remote;
+import org.mxchange.jshopcore.exceptions.CannotAddCategoryException;
 import org.mxchange.jshopcore.exceptions.CategoryTitleAlreadyUsedException;
 
 /**
@@ -35,6 +36,7 @@ public interface AdminCategorySessionBeanRemote extends Serializable {
         * @param category Category instance
         * @throws java.rmi.RemoteException If something unexpected happened
         * @throws org.mxchange.jshopcore.exceptions.CategoryTitleAlreadyUsedException If the given title is already used
+        * @throws org.mxchange.jshopcore.exceptions.CannotAddCategoryException If the category cannot be added
         */
-       public void doAdminAddCategory (final Category category) throws RemoteException, CategoryTitleAlreadyUsedException;
+       public void doAdminAddCategory (final Category category) throws RemoteException, CategoryTitleAlreadyUsedException, CannotAddCategoryException;
 }