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

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

public class AddWhilePayingException
extends IncorrectStateException

A simple exception which is thrown when a customer tries to add a product once the system is already processing the payment.

See Also:
Serialized Form

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

AddWhilePayingException

public AddWhilePayingException()

AddWhilePayingException

public AddWhilePayingException(java.lang.String message)

AddWhilePayingException

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

AddWhilePayingException

public AddWhilePayingException(java.lang.Throwable cause)