Class RedeemingNotAllowedForVoucherException
- 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.VoucherRedeemingException
-
- org.cyclos.model.banking.vouchers.RedeemingNotAllowedForVoucherException
-
- All Implemented Interfaces:
Serializable
public class RedeemingNotAllowedForVoucherException extends VoucherRedeemingException
Exception thrown when attempting to redeem a voucher that is not no longer open- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RedeemingNotAllowedForVoucherException()RedeemingNotAllowedForVoucherException(VoucherStatus status)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VoucherStatusgetStatus()voidsetStatus(VoucherStatus status)-
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
-
RedeemingNotAllowedForVoucherException
public RedeemingNotAllowedForVoucherException()
-
RedeemingNotAllowedForVoucherException
public RedeemingNotAllowedForVoucherException(VoucherStatus status)
-
-
Method Detail
-
getStatus
public VoucherStatus getStatus()
-
setStatus
public void setStatus(VoucherStatus status)
-
-