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

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

public class PayWithNoItemsException
extends IncorrectStateException

A simple exception which is thrown when a customer tries to pay and there are no items added to its CheckOutCart.

See Also:
Serialized Form

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

PayWithNoItemsException

public PayWithNoItemsException()

PayWithNoItemsException

public PayWithNoItemsException(java.lang.String message)

PayWithNoItemsException

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

PayWithNoItemsException

public PayWithNoItemsException(java.lang.Throwable cause)