]> git.mxchange.org Git - jcustomer-lib.git/blobdiff - src/org/mxchange/jcustomercore/model/customer/AdminCustomerSessionBeanRemote.java
Some stuff changed:
[jcustomer-lib.git] / src / org / mxchange / jcustomercore / model / customer / AdminCustomerSessionBeanRemote.java
index e2fca5e397ed358d9f6df030b3a528cf1b0dcadb..fe0e894546f3f864a00449f626779186ce4bc05b 100644 (file)
@@ -19,6 +19,7 @@ package org.mxchange.jcustomercore.model.customer;
 import java.io.Serializable;
 import java.util.List;
 import javax.ejb.Remote;
+import org.mxchange.jcontacts.exceptions.ContactAlreadyAddedException;
 import org.mxchange.jcustomercore.exceptions.CustomerAlreadyRegisteredException;
 
 /**
@@ -48,8 +49,10 @@ public interface AdminCustomerSessionBeanRemote extends Serializable {
         * @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.