edu.uci.ics.inf111.dvdvendor.exceptions
Class ProductNotRentedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.uci.ics.inf111.dvdvendor.exceptions.IncorrectStateException
edu.uci.ics.inf111.dvdvendor.exceptions.ProductNotRentedException
- All Implemented Interfaces:
- java.io.Serializable
public class ProductNotRentedException
- extends IncorrectStateException
A simple exception which is thrown when a customer tries to
return a product that has not been rented.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
ProductNotRentedException
public ProductNotRentedException()
ProductNotRentedException
public ProductNotRentedException(java.lang.String message)
ProductNotRentedException
public ProductNotRentedException(java.lang.String message,
java.lang.Throwable cause)
ProductNotRentedException
public ProductNotRentedException(java.lang.Throwable cause)