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

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

public class CalculateWithNoItemException
extends IncorrectStateException

A simple exception which is thrown when a customer tries to calculate the charges in a return transaction when there are no received items.

See Also:
Serialized Form

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

CalculateWithNoItemException

public CalculateWithNoItemException()

CalculateWithNoItemException

public CalculateWithNoItemException(java.lang.String message)

CalculateWithNoItemException

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

CalculateWithNoItemException

public CalculateWithNoItemException(java.lang.Throwable cause)