edu.uci.ics.inf111.dvdvendor.exceptions
Class ProductNotRentedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by edu.uci.ics.inf111.dvdvendor.exceptions.IncorrectStateException
              extended by 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

Field Summary
private static long serialVersionUID
           
 
Constructor Summary
ProductNotRentedException()
           
ProductNotRentedException(java.lang.String message)
           
ProductNotRentedException(java.lang.String message, java.lang.Throwable cause)
           
ProductNotRentedException(java.lang.Throwable cause)
           
 
Method Summary
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

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)