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

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

public class PayWhileDispensingException
extends IncorrectStateException

A simple exception which is thrown when a customer tries to pay once the system is ready to dispense the products.

See Also:
Serialized Form

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

PayWhileDispensingException

public PayWhileDispensingException()

PayWhileDispensingException

public PayWhileDispensingException(java.lang.String message)

PayWhileDispensingException

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

PayWhileDispensingException

public PayWhileDispensingException(java.lang.Throwable cause)