From: Roland Haeder Date: Wed, 9 Sep 2015 13:38:58 +0000 (+0200) Subject: An SQLException is now thrown X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=be2b5b64a40f72b6df9a56ad031b2e9919241f6d;p=jshop-lib.git An SQLException is now thrown Signed-off-by:Roland Häder --- diff --git a/src/org/mxchange/jshopcore/model/category/CategorySessionBeanRemote.java b/src/org/mxchange/jshopcore/model/category/CategorySessionBeanRemote.java index 69af39a..2b6eb1c 100644 --- a/src/org/mxchange/jshopcore/model/category/CategorySessionBeanRemote.java +++ b/src/org/mxchange/jshopcore/model/category/CategorySessionBeanRemote.java @@ -18,6 +18,7 @@ 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; @@ -44,7 +45,7 @@ public interface CategorySessionBeanRemote extends Serializable { * 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 getAllCategories () throws RemoteException; + public Deque getAllCategories () throws SQLException; }