]> git.mxchange.org Git - jcustomer-lib.git/blobdiff - src/org/mxchange/jshopcore/model/customer/CustomerSessionBeanRemote.java
Continued with JPA:
[jcustomer-lib.git] / src / org / mxchange / jshopcore / model / customer / CustomerSessionBeanRemote.java
index 2803e84cd8c61d7bedecd2e4660ee6ef6b59b490..d28216124bd0226365ce377ffbab98fde288d699 100644 (file)
@@ -19,7 +19,6 @@ package org.mxchange.jshopcore.model.customer;
 import java.io.Serializable;
 import javax.ejb.Remote;
 import org.mxchange.jshopcore.exceptions.CustomerAlreadyRegisteredException;
-import org.mxchange.jshopcore.exceptions.QueryNotExecutedException;
 
 /**
  * An interface for customer beans
@@ -34,18 +33,16 @@ public interface CustomerSessionBeanRemote extends Serializable {
         *
         * @param customer Initial Customer instance
         * @return Prepared Customer instance
-        * @throws org.mxchange.jshopcore.exceptions.QueryNotExecutedException If the SQL query did not execute
         */
-       public Customer fillCustomerData (final Customer customer) throws QueryNotExecutedException;
+       public Customer fillCustomerData (final Customer customer);
 
        /**
         * Checks if the the given customer instance is already registered
         *
         * @param customer Customer instance
         * @return Whether the customer is already registered
-        * @throws org.mxchange.jshopcore.exceptions.QueryNotExecutedException If the SQL query did not execute
         */
-       public boolean isReqistered (final Customer customer) throws QueryNotExecutedException;
+       public boolean isReqistered (final Customer customer);
 
        /**
         * Registers the customer and creates a customer number after succesful