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
* 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