Keypop Card C++ API 2.0.0
Reference Card API for C++
ReaderBrokenCommunicationException.hpp
Go to the documentation of this file.
1/**************************************************************************************************
2 * Copyright (c) 2024 Calypso Networks Association https://calypsonet.org/ *
3 * *
4 * This program and the accompanying materials are made available under the *
5 * terms of the MIT License which is available at https://opensource.org/licenses/MIT. *
6 * *
7 * SPDX-License-Identifier: MIT *
8 **************************************************************************************************/
9
10#pragma once
11
12#include <memory>
13#include <stdexcept>
14#include <string>
15
18
19namespace keypop {
20namespace card {
21
29public:
40 const std::shared_ptr<CardResponseApi> cardResponseApi,
41 const bool isCardResponseComplete,
42 const std::string& message)
43 : AbstractApduException(cardResponseApi, isCardResponseComplete, message) {
44 }
45
57 const std::shared_ptr<CardResponseApi> cardResponseApi,
58 const bool isCardResponseComplete,
59 const std::string& message,
60 const std::shared_ptr<exception> cause)
61 : AbstractApduException(cardResponseApi, isCardResponseComplete, message, cause) {
62 }
63};
64
65} /* namespace card */
66} /* namespace keypop */
ReaderBrokenCommunicationException(const std::shared_ptr< CardResponseApi > cardResponseApi, const bool isCardResponseComplete, const std::string &message)
ReaderBrokenCommunicationException(const std::shared_ptr< CardResponseApi > cardResponseApi, const bool isCardResponseComplete, const std::string &message, const std::shared_ptr< exception > cause)