Exception Summary |
AddWhileDispensingException |
A simple exception which is thrown when a customer tries to
add a product once the system is ready to dispense the products. |
AddWhilePayingException |
A simple exception which is thrown when a customer tries to
add a product once the system is already processing the payment. |
CalculateWithNoItemException |
A simple exception which is thrown when a customer tries to
calculate the charges in a return transaction when there are no received items. |
DispenseWhileAddingException |
A simple exception which is thrown when a customer tries to
dispense a product once he/she is still adding products. |
IncorrectStateException |
The IncorrectStateException acts as a parent
class for those exceptions which represent violations of the business rules of
the states a DVDVendor object can be in. |
InvalidBarCodeException |
An exception which is thrown when a Bar Code is not valid. |
InvalidProductException |
An exception which is thrown when a scanned product does not
exist in the product database. |
PaymentCollectorException |
An exception which is thrown when there is a problem with the payment interface,
which in this case is represented by the PaymentCollector class. |
PayWhileDispensingException |
A simple exception which is thrown when a customer tries to
pay once the system is ready to dispense the products. |
PayWithNoItemsException |
A simple exception which is thrown when a customer tries to
pay and there are no items added to its CheckOutCart. |
PrinterException |
An exception which is thrown when the Printer device fails
because the file path is not valid, the data to print is null or contain nulls, or
there was an error writing on the output file. |
ProductAlreadyInCheckOutCartException |
A simple exception which is thrown when a customer tries to
add a product that is already in the CheckOutCart. |
ProductAlreadyRentedException |
A simple exception which is thrown when a customer tries to
rent a product that is already rented. |
ProductDBException |
An exception which is thrown when the database of Products
fails |
ProductNotRentedException |
A simple exception which is thrown when a customer tries to
return a product that has not been rented. |
TransactionDBException |
An exception which is thrown when the database of Transactions fails
because the file path is not valid or
there was an error writing on the output file. |