Keypop Reader C++ API - 2.1.0
Component of the Keypop C++ API
CardCommunicationException.hpp
Go to the documentation of this file.
1
/******************************************************************************
2
* Copyright (c) 2025 Calypso Networks Association https://calypsonet.org/ *
3
* *
4
* See the NOTICE file(s) distributed with this work for additional *
5
* information regarding copyright ownership. *
6
* *
7
* This program and the accompanying materials are made available under the *
8
* terms of the MIT License which is available at *
9
* https://opensource.org/licenses/MIT *
10
* *
11
* SPDX-License-Identifier: MIT *
12
******************************************************************************/
13
14
#pragma once
15
16
#include <memory>
17
#include <stdexcept>
18
#include <string>
19
20
namespace
keypop
{
21
namespace
reader {
22
28
class
CardCommunicationException
final :
public
std::runtime_error {
29
public
:
34
explicit
CardCommunicationException
(
const
std::string& message)
35
: std::runtime_error(message)
36
{
37
}
38
44
CardCommunicationException
(
45
const
std::string& message,
const
std::exception&
/*cause*/
)
46
: std::runtime_error(message)
47
{
48
}
49
};
50
51
}
/* namespace reader */
52
}
/* namespace keypop */
keypop::reader::CardCommunicationException
Indicates that the communication with the card failed.
Definition:
CardCommunicationException.hpp:28
keypop::reader::CardCommunicationException::CardCommunicationException
CardCommunicationException(const std::string &message, const std::exception &)
Definition:
CardCommunicationException.hpp:44
keypop::reader::CardCommunicationException::CardCommunicationException
CardCommunicationException(const std::string &message)
Definition:
CardCommunicationException.hpp:34
keypop
Definition:
CardCommunicationException.hpp:20
keypop
reader
CardCommunicationException.hpp
Generated by
1.9.2