From be2b5b64a40f72b6df9a56ad031b2e9919241f6d Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Wed, 9 Sep 2015 15:38:58 +0200 Subject: [PATCH] =?utf8?q?An=20SQLException=20is=20now=20thrown=20Signed-o?= =?utf8?q?ff-by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../jshopcore/model/category/CategorySessionBeanRemote.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; } -- 2.39.5