fr.paris.lutece.plugins.stock.business.purchase.exception
Class PurchaseUnavailable
java.lang.Object
java.lang.Throwable
java.lang.Exception
fr.paris.lutece.plugins.stock.business.purchase.exception.PurchaseException
fr.paris.lutece.plugins.stock.business.purchase.exception.PurchaseUnavailable
- All Implemented Interfaces:
- Serializable
public class PurchaseUnavailable
- extends PurchaseException
General exception for forbidden purchase
- Author:
- abataille
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
PurchaseUnavailable
public PurchaseUnavailable(Integer purchaseId,
String msg)
- Instantiates a new purchase unavailable.
- Parameters:
purchaseId - the purchase idmsg - the msg
getPurchaseId
public Integer getPurchaseId()
- Description copied from class:
PurchaseException
- Gets the purchase id.
- Overrides:
getPurchaseId in class PurchaseException
- Returns:
- the purchaseId
setPurchaseId
public void setPurchaseId(Integer purchaseId)
- Description copied from class:
PurchaseException
- Sets the purchase id.
- Overrides:
setPurchaseId in class PurchaseException
- Parameters:
purchaseId - the purchaseId to set
Copyright © 2013 Mairie de Paris. All Rights Reserved.