16#include "keypop/reader/selection/InvalidCardResponseException.hpp"
20namespace storagecard {
22using keypop::reader::selection::InvalidCardResponseException;
36:
public InvalidCardResponseException,
49 const std::shared_ptr<int>& blockAddress,
const std::string& message)
50 : InvalidCardResponseException(message)
51 , mBlockAddress(blockAddress)
66 const std::shared_ptr<int>& blockAddress,
67 const std::string& message,
68 const std::exception& cause)
69 : InvalidCardResponseException(message, cause)
70 , mBlockAddress(blockAddress)
89 const std::shared_ptr<int> mBlockAddress;
Indicates that a command returned an unexpected or invalid status while interacting with the StorageC...
SCInvalidCardResponseException(const std::shared_ptr< int > &blockAddress, const std::string &message)
Creates a new exception indicating a card status code error during the execution of a storage card co...
SCInvalidCardResponseException(const std::shared_ptr< int > &blockAddress, const std::string &message, const std::exception &cause)
Creates a new exception indicating a card status code error during the execution of a storage card co...
std::shared_ptr< int > getBlockAddress() const override
Returns the address of the block involved in the error, if applicable.The block address that caused t...
Interface for exceptions occurring during the execution of a command on a StorageCard.