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
*
* @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