import java.io.Serializable;
import java.util.List;
import javax.ejb.Remote;
+import org.mxchange.jcontacts.exceptions.ContactAlreadyAddedException;
import org.mxchange.jcustomercore.exceptions.CustomerAlreadyRegisteredException;
/**
* @throws
* org.mxchange.jcustomercore.exceptions.CustomerAlreadyRegisteredException
* If the customer is already registered.
+ * @throws org.mxchange.jcontacts.exceptions.ContactAlreadyAddedException If
+ * the given contact data is already added.
*/
- Customer addCustomer (final Customer customer) throws CustomerAlreadyRegisteredException;
+ Customer addCustomer (final Customer customer) throws CustomerAlreadyRegisteredException, ContactAlreadyAddedException;
/**
* Creates a new (free) customer number.