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

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.ProductAlreadyRentedException
All Implemented Interfaces:
java.io.Serializable

public class ProductAlreadyRentedException
extends IncorrectStateException

A simple exception which is thrown when a customer tries to rent a product that is already rented.

See Also:
Serialized Form

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

ProductAlreadyRentedException

public ProductAlreadyRentedException()

ProductAlreadyRentedException

public ProductAlreadyRentedException(java.lang.String message)

ProductAlreadyRentedException

public ProductAlreadyRentedException(java.lang.String message,
                                     java.lang.Throwable cause)

ProductAlreadyRentedException

public ProductAlreadyRentedException(java.lang.Throwable cause)