Package org.cyclos.model.marketplace
Class OutOfStockException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.cyclos.model.CyclosException
-
- org.cyclos.model.BusinessException
-
- org.cyclos.model.marketplace.OutOfStockException
-
- All Implemented Interfaces:
Serializable
public class OutOfStockException extends BusinessException
Exception thrown when attempting to buy an item which has gone out of stock- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OutOfStockException()OutOfStockException(AdWebShopVO item)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdWebShopVOgetItem()voidsetItem(AdWebShopVO item)-
Methods inherited from class org.cyclos.model.CyclosException
getAttribute, getMessage, setAttribute, shouldGenerateLog
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
OutOfStockException
public OutOfStockException()
-
OutOfStockException
public OutOfStockException(AdWebShopVO item)
-
-
Method Detail
-
getItem
public AdWebShopVO getItem()
-
setItem
public void setItem(AdWebShopVO item)
-
-