Signed-off-by:Roland Häder <roland@mxchange.org>
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;
* Some "getter" for a linked list of all categories
*
* @return All categories
- * @throws java.rmi.RemoteException If anything went wrong
+ * @throws java.sql.SQLException If an SQL error occurs
*/
- public Deque<Category> getAllCategories () throws RemoteException;
+ public Deque<Category> getAllCategories () throws SQLException;
}