Class MaxTotalOpenAmountException
- 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.MaxTotalOpenAmountException
-
- All Implemented Interfaces:
Serializable
public class MaxTotalOpenAmountException extends VoucherException
Exception thrown when either generating or buying vouchers, and the maximum total open amount is exceeded- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MaxTotalOpenAmountException()MaxTotalOpenAmountException(CurrencyAmountDTO currentOpenAmount, CurrencyAmountDTO maxOpenAmount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CurrencyAmountDTOgetCurrentOpenAmount()CurrencyAmountDTOgetMaxOpenAmount()voidsetCurrentOpenAmount(CurrencyAmountDTO currentOpenAmount)voidsetMaxOpenAmount(CurrencyAmountDTO maxOpenAmount)-
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
-
MaxTotalOpenAmountException
public MaxTotalOpenAmountException()
-
MaxTotalOpenAmountException
public MaxTotalOpenAmountException(CurrencyAmountDTO currentOpenAmount, CurrencyAmountDTO maxOpenAmount)
-
-
Method Detail
-
getCurrentOpenAmount
public CurrencyAmountDTO getCurrentOpenAmount()
-
getMaxOpenAmount
public CurrencyAmountDTO getMaxOpenAmount()
-
setCurrentOpenAmount
public void setCurrentOpenAmount(CurrencyAmountDTO currentOpenAmount)
-
setMaxOpenAmount
public void setMaxOpenAmount(CurrencyAmountDTO maxOpenAmount)
-
-