edu.uci.ics.inf111.dvdvendor.exceptions
Class AddWhilePayingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.uci.ics.inf111.dvdvendor.exceptions.IncorrectStateException
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
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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
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)