public class Driver
{
    public static void main(String [] args)
    {
        Inventory chinook = new Inventory();
        try
        {
           chinook.add(10); 
        }
        catch (InventoryOverMaxException e)
        {
           System.out.print(">>Too much to be added to stock<<");
        }
        System.out.println(chinook.showStockLevel ());
        try
        {
           chinook.add(10); 
        }
        catch (InventoryOverMaxException e)
        {
           System.out.println(">>Too much to be added to stock<<");
        }
        System.out.println(chinook.showStockLevel ());
        try
        {
           chinook.add(100); 
        }
        catch (InventoryOverMaxException e)
        {
           System.out.println(">>Too much to be added to stock<<");
	   System.out.println(e.getMessage());
        }
        System.out.println(chinook.showStockLevel ());
        try
        {
           chinook.remove(21); 
        }
        catch (InventoryUnderMinException e)
        {
           System.out.println(">>Too much to remove from stock<<");
	   System.out.println(e.getMessage());
        }
        System.out.println(chinook.showStockLevel());

    }
}
