]> git.mxchange.org Git - jshop-lib.git/blobdiff - src/org/mxchange/jshopcore/model/category/CategorySessionBeanRemote.java
Updated author (email address) + jars + implemented very basic basket
[jshop-lib.git] / src / org / mxchange / jshopcore / model / category / CategorySessionBeanRemote.java
index 2b6eb1c08b8489fb92b801c166ebec78d14b30a2..f4b654389ad9e801b9eceee7ed9b9bf5ac2f428d 100644 (file)
@@ -17,8 +17,6 @@
 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;
@@ -26,7 +24,7 @@ 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 {
@@ -37,15 +35,13 @@ 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 ();
 }