]> git.mxchange.org Git - jcustomer-lib.git/commitdiff
An SQLException is now thrown
authorRoland Haeder <roland@mxchange.org>
Wed, 9 Sep 2015 13:38:58 +0000 (15:38 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 9 Sep 2015 13:38:58 +0000 (15:38 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/org/mxchange/jshopcore/model/category/CategorySessionBeanRemote.java

index 69af39a8378bf27a81a3120588c2b6734648db8d..2b6eb1c08b8489fb92b801c166ebec78d14b30a2 100644 (file)
@@ -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<Category> getAllCategories () throws RemoteException;
+       public Deque<Category> getAllCategories () throws SQLException;
 }