fr.paris.lutece.plugins.stock.business.purchase.exception
Class PurchaseSessionExpired

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by fr.paris.lutece.plugins.stock.business.purchase.exception.PurchaseException
              extended by fr.paris.lutece.plugins.stock.business.purchase.exception.PurchaseSessionExpired
All Implemented Interfaces:
java.io.Serializable

public class PurchaseSessionExpired
extends PurchaseException

Exception thrown when purchase have not active session

See Also:
Serialized Form

Constructor Summary
PurchaseSessionExpired(java.lang.Integer purchaseId, java.lang.String msg)
          Instantiates a new purchase session expired.
 
Method Summary
 java.lang.Integer getPurchaseId()
          Gets the purchase id.
 void setPurchaseId(java.lang.Integer purchaseId)
          Sets the purchase id.
 
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
 

Constructor Detail

PurchaseSessionExpired

public PurchaseSessionExpired(java.lang.Integer purchaseId,
                              java.lang.String msg)
Instantiates a new purchase session expired.

Parameters:
purchaseId - the purchase id
msg - the msg
Method Detail

getPurchaseId

public java.lang.Integer getPurchaseId()
Gets the purchase id.

Overrides:
getPurchaseId in class PurchaseException
Returns:
the purchaseId

setPurchaseId

public void setPurchaseId(java.lang.Integer purchaseId)
Sets the purchase id.

Overrides:
setPurchaseId in class PurchaseException
Parameters:
purchaseId - the purchaseId to set


Copyright © 2012 Mairie de Paris. All Rights Reserved.