]> git.mxchange.org Git - jshop-lib.git/blobdiff - src/org/mxchange/jshopcore/model/category/AdminCategorySessionBeanRemote.java
Moved admin method to admin interface
[jshop-lib.git] / src / org / mxchange / jshopcore / model / category / AdminCategorySessionBeanRemote.java
index 6217ca0b483c657a87074b60c14bab442781054a..27273d59f82c21813b399f3a62947bd1deb3b0ad 100644 (file)
@@ -17,7 +17,6 @@
 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;
@@ -34,9 +33,8 @@ public interface AdminCategorySessionBeanRemote extends Serializable {
         * Adds given category data from request to database
         *
         * @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, CannotAddCategoryException;
+       public void doAdminAddCategory (final Category category) throws CategoryTitleAlreadyUsedException, CannotAddCategoryException;
 }