DuplicateProductException.java
package com.tradecloud.domain.product;
import com.tradecloud.domain.exception.InvalidEntityException;
/**
* This exception should be thrown when an attempt is made to create a duplicate {@code Product},
* that is, one that would violate the unique product constraints.
* <p>
* <a href="https://connect.devstream.net/display/Dev/Products+and+LineItems">Products and Line Items</a>
*/
public class DuplicateProductException extends InvalidEntityException {
private static final long serialVersionUID = 1L;
public DuplicateProductException(String message) {
super(message);
}
}