|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IncorrectStateException | |
---|---|
edu.uci.ics.inf111.dvdvendor.app | |
edu.uci.ics.inf111.dvdvendor.exceptions |
Uses of IncorrectStateException in edu.uci.ics.inf111.dvdvendor.app |
---|
Methods in edu.uci.ics.inf111.dvdvendor.app that throw IncorrectStateException | |
---|---|
Product |
DVDVendor.addItem(BarCode barCode)
This method accepts a bar code and adds the corresponding product to the customer's cart. |
CheckOutCart |
DVDVendor.calculateChargesForReturn(BarCode barCode)
This method calculate the charges for the Return Transaction. |
java.lang.String |
DVDVendor.dispenseItems()
Method that dispense the items in the transaction using the dvdDispenser object from the dvdVendor object. |
void |
DVDVendor.initiateRental()
This method initiates a rental transaction |
void |
DVDVendor.initiateReturn()
This method initiates a return transaction |
CheckOutCart |
DVDVendor.payForRental(java.lang.String cardNumber)
This method accepts a credit/debit card number to charge for the rented products. |
Uses of IncorrectStateException in edu.uci.ics.inf111.dvdvendor.exceptions |
---|
Subclasses of IncorrectStateException in edu.uci.ics.inf111.dvdvendor.exceptions | |
---|---|
class |
AddWhileDispensingException
A simple exception which is thrown when a customer tries to add a product once the system is ready to dispense the products. |
class |
AddWhilePayingException
A simple exception which is thrown when a customer tries to add a product once the system is already processing the payment. |
class |
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. |
class |
DispenseWhileAddingException
A simple exception which is thrown when a customer tries to dispense a product once he/she is still adding products. |
class |
PayWhileDispensingException
A simple exception which is thrown when a customer tries to pay once the system is ready to dispense the products. |
class |
PayWithNoItemsException
A simple exception which is thrown when a customer tries to pay and there are no items added to its CheckOutCart. |
class |
ProductAlreadyInCheckOutCartException
A simple exception which is thrown when a customer tries to add a product that is already in the CheckOutCart. |
class |
ProductAlreadyRentedException
A simple exception which is thrown when a customer tries to rent a product that is already rented. |
class |
ProductNotRentedException
A simple exception which is thrown when a customer tries to return a product that has not been rented. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |