fr.paris.lutece.plugins.stock.business.purchase.exception
Class PurchaseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
fr.paris.lutece.plugins.stock.business.purchase.exception.PurchaseException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- PurchaseOutOfStock, PurchaseSessionExpired, PurchaseUnavailable
public class PurchaseException
- extends Exception
Exceptions thrown while purchase procedure
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
PurchaseException
public PurchaseException(Integer purchaseId,
String msg)
- Instantiates a new purchase exception.
- Parameters:
purchaseId - the purchase idmsg - the msg
getPurchaseId
public Integer getPurchaseId()
- Gets the purchase id.
- Returns:
- the purchaseId
setPurchaseId
public void setPurchaseId(Integer thePurchaseId)
- Sets the purchase id.
- Parameters:
thePurchaseId - the purchase id to set
Copyright © 2013 Mairie de Paris. All Rights Reserved.