CardException
reason
getReason()
setReason()
Constructs a CardException instance with the specified reason.paramreason the reason for the exception setReason(reason);
setReason(reason);
Gets the reason code.returnthe reason for the exceptionsee#setReason return reason;
return reason;
Sets the reason code.paramreason the reason for the exceptionsee#getReason this.reason = reason;
this.reason = reason;
Throws an instance of CardException class with the specified reason.paramreason the reason for the exceptionexceptionCardException always throw new CardException(reason);
throw new CardException(reason);