Keypop Card C++ API 2.0.0
Reference Card API for C++
CardBrokenCommunicationException.hpp
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (c) 2025 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 *
6 * https://opensource.org/licenses/MIT. *
7 * *
8 * SPDX-License-Identifier: MIT *
9 ******************************************************************************/
10
11#pragma once
12
13#include <memory>
14#include <stdexcept>
15#include <string>
16
19
20namespace keypop {
21namespace card {
22
30public:
42 const std::shared_ptr<CardResponseApi> cardResponseApi,
43 const bool isCardResponseComplete,
44 const std::string& message)
45 : AbstractApduException(cardResponseApi, isCardResponseComplete, message) {
46 }
47
61 const std::shared_ptr<CardResponseApi> cardResponseApi,
62 const bool isCardResponseComplete,
63 const std::string& message,
64 const std::shared_ptr<std::exception> cause)
66 cardResponseApi, isCardResponseComplete, message, cause) {
67 }
68};
69
70} /* namespace card */
71} /* namespace keypop */
CardBrokenCommunicationException(const std::shared_ptr< CardResponseApi > cardResponseApi, const bool isCardResponseComplete, const std::string &message)
CardBrokenCommunicationException(const std::shared_ptr< CardResponseApi > cardResponseApi, const bool isCardResponseComplete, const std::string &message, const std::shared_ptr< std::exception > cause)