|
Keypop Storage Card C++ API - 1.2.0
Component of the Keypop C++ API
|
Indicates an input/output error that occurred while communicating with the card reader. More...
#include <keypop/storagecard/SCReaderCommunicationException.hpp>


Public Member Functions | |
| SCReaderCommunicationException (const std::shared_ptr< int > &blockAddress, const std::string &message) | |
| Creates a new exception indicating a reader communication error during the execution of a storage card command. More... | |
| SCReaderCommunicationException (const std::shared_ptr< int > &blockAddress, const std::string &message, const std::exception &cause) | |
| Creates a new exception indicating a reader communication error during the execution of a storage card command, with an underlying cause. More... | |
| std::shared_ptr< int > | getBlockAddress () const override |
Returns the address of the block involved in the error, if applicable.
| |
Public Member Functions inherited from keypop::storagecard::StorageCardException | |
| StorageCardException ()=default | |
| StorageCardException (const StorageCardException &)=default | |
| StorageCardException (StorageCardException &&)=default | |
| StorageCardException & | operator= (const StorageCardException &)=default |
| StorageCardException & | operator= (StorageCardException &&)=default |
| virtual | ~StorageCardException ()=default |
Indicates an input/output error that occurred while communicating with the card reader.
This exception reflects low-level reader communication failures, such as a lost connection, hardware malfunction, or driver-related issues, preventing the command from being transmitted to the StorageCard.
Definition at line 34 of file SCReaderCommunicationException.hpp.
|
inline |
Creates a new exception indicating a reader communication error during the execution of a storage card command.
| blockAddress | The block address involved in the error, or nullptr if not relevant. |
| message | The message describing the exception context. |
Definition at line 47 of file SCReaderCommunicationException.hpp.
|
inline |
Creates a new exception indicating a reader communication error during the execution of a storage card command, with an underlying cause.
| blockAddress | The block address involved in the error, or nullptr if not relevant. |
| message | The message describing the exception context. |
| cause | The underlying cause of the exception. |
Definition at line 64 of file SCReaderCommunicationException.hpp.
|
inlineoverridevirtual |
Returns the address of the block involved in the error, if applicable.
Implements keypop::storagecard::StorageCardException.
Definition at line 79 of file SCReaderCommunicationException.hpp.