package org.mxchange.jshopcore.model.category;
import java.io.Serializable;
-import java.rmi.RemoteException;
-import java.sql.SQLException;
import java.util.Deque;
import javax.ejb.Remote;
import org.mxchange.jshopcore.exceptions.CategoryTitleAlreadyUsedException;
/**
* A remote-call interface for the shop
*
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
*/
@Remote
public interface CategorySessionBeanRemote extends Serializable {
*
* @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 CategoryTitleAlreadyUsedException, RemoteException;
+ public void doAdminAddCategory (final Category category) throws CategoryTitleAlreadyUsedException;
/**
* Some "getter" for a linked list of all categories
*
* @return All categories
- * @throws java.sql.SQLException If an SQL error occurs
*/
- public Deque<Category> getAllCategories () throws SQLException;
+ public Deque<Category> getAllCategories ();
}