import java.io.Serializable;
import java.util.Deque;
import javax.ejb.Remote;
+import org.mxchange.jshopcore.exceptions.CannotAddProductException;
import org.mxchange.jshopcore.exceptions.ProductTitleAlreadyUsedException;
/**
*
* @param product Product instance to add
* @throws org.mxchange.jshopcore.exceptions.ProductTitleAlreadyUsedException If the given product title is already used
+ * @throws org.mxchange.jshopcore.exceptions.CannotAddProductException If the product cannot be added
*/
- public void doAdminAddProduct (final Product product) throws ProductTitleAlreadyUsedException;
+ public void doAdminAddProduct (final Product product) throws ProductTitleAlreadyUsedException, CannotAddProductException;
/**
* Some "getter" for all products. This method is typically used in admin