import java.io.Serializable;
import java.util.List;
import javax.ejb.Remote;
+import org.mxchange.jcustomercore.exceptions.CustomerAlreadyRegisteredException;
/**
* Administrative interface for customer beans
* instance.
* <p>
* @param customer Customer instance
- *
+ * <p>
* @return Updated customer
+ * <p>
+ * @throws
+ * org.mxchange.jcustomercore.exceptions.CustomerAlreadyRegisteredException
+ * If the customer is already registered.
*/
- Customer addCustomer (final Customer customer);
+ Customer addCustomer (final Customer customer) throws CustomerAlreadyRegisteredException;
/**
* Creates a new (free) customer number.