Class TopUpNotAllowedForVoucherException
- 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.VoucherTopUpException
-
- org.cyclos.model.banking.vouchers.TopUpNotAllowedForVoucherException
-
- All Implemented Interfaces:
Serializable
public class TopUpNotAllowedForVoucherException extends VoucherTopUpException
Exception thrown when attempting to top-up a voucher in an invalid status- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TopUpNotAllowedForVoucherException()TopUpNotAllowedForVoucherException(VoucherStatus voucherStatus)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VoucherStatusgetVoucherStatus()voidsetVoucherStatus(VoucherStatus voucherStatus)-
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
-
TopUpNotAllowedForVoucherException
public TopUpNotAllowedForVoucherException()
-
TopUpNotAllowedForVoucherException
public TopUpNotAllowedForVoucherException(VoucherStatus voucherStatus)
-
-
Method Detail
-
getVoucherStatus
public VoucherStatus getVoucherStatus()
-
setVoucherStatus
public void setVoucherStatus(VoucherStatus voucherStatus)
-
-