Class BuyingMaxAmountReachedForPeriodException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.cyclos.model.CyclosException
-
- org.cyclos.model.BusinessException
-
- org.cyclos.model.banking.vouchers.VoucherException
-
- org.cyclos.model.banking.vouchers.VoucherBuyingException
-
- org.cyclos.model.banking.vouchers.BuyingMaxAmountReachedForPeriodException
-
- All Implemented Interfaces:
Serializable
public class BuyingMaxAmountReachedForPeriodException extends VoucherBuyingException
Exception thrown when attempting to buy vouchers and the max buy amount for period was exceeded- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BuyingMaxAmountReachedForPeriodException()BuyingMaxAmountReachedForPeriodException(CurrencyAmountDTO amountLeftForBuying, DateTime dateAllowedAgain)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CurrencyAmountDTOgetAmountLeftForBuying()DateTimegetDateAllowedAgain()voidsetAmountLeftForBuying(CurrencyAmountDTO amountLeftForBuying)voidsetDateAllowedAgain(DateTime dateAllowedAgain)-
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
-
BuyingMaxAmountReachedForPeriodException
public BuyingMaxAmountReachedForPeriodException()
-
BuyingMaxAmountReachedForPeriodException
public BuyingMaxAmountReachedForPeriodException(CurrencyAmountDTO amountLeftForBuying, DateTime dateAllowedAgain)
-
-
Method Detail
-
getAmountLeftForBuying
public CurrencyAmountDTO getAmountLeftForBuying()
-
getDateAllowedAgain
public DateTime getDateAllowedAgain()
-
setAmountLeftForBuying
public void setAmountLeftForBuying(CurrencyAmountDTO amountLeftForBuying)
-
setDateAllowedAgain
public void setDateAllowedAgain(DateTime dateAllowedAgain)
-
-