package ever.workflowRepresentation;

public class NotAProductException extends Exception {
	/**
	 * This exception is thrown when things are used as products which are in a semantic way not products. E.g in the cooking domaine, a cooking tool was used
	 * and declared as ingredient
	 */
	private static final long serialVersionUID = 1L;
	private String name;
	public NotAProductException(String name)
	{
		this.name=name;
	}
	
	public String toString(){
		return name+" is not a product.";
		
	}

}

