import java.io.Serializable;
import java.util.Deque;
import javax.ejb.Remote;
+import org.mxchange.jshopcore.exceptions.CannotAddCategoryException;
import org.mxchange.jshopcore.exceptions.CategoryTitleAlreadyUsedException;
/**
*
* @param category Category instance
* @throws org.mxchange.jshopcore.exceptions.CategoryTitleAlreadyUsedException If the given category title is already used
+ * @throws org.mxchange.jshopcore.exceptions.CannotAddCategoryException If the category cannot be added
*/
- public void doAdminAddCategory (final Category category) throws CategoryTitleAlreadyUsedException;
+ public void doAdminAddCategory (final Category category) throws CategoryTitleAlreadyUsedException, CannotAddCategoryException;
/**
* Some "getter" for a linked list of all categories