Keypop Reader C++ API 2.0.0
Reference Reader API for C++
include
keypop
reader
selection
InvalidCardResponseException.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 <map>
13
#include <memory>
14
#include <stdexcept>
15
#include <string>
16
17
namespace
keypop
{
18
namespace
reader {
19
namespace
selection {
20
26
class
InvalidCardResponseException
final :
public
std::runtime_error {
27
public
:
32
explicit
InvalidCardResponseException
(
const
std::string& message)
33
: std::runtime_error(message) {
34
}
35
41
InvalidCardResponseException
(
42
const
std::string& message,
const
std::shared_ptr<std::exception> cause)
43
: std::runtime_error(message) {
44
// FIXME: should we use cause?
45
(void)cause;
46
}
47
};
48
49
}
/* namespace selection */
50
}
/* namespace reader */
51
}
/* namespace keypop */
keypop::reader::selection::InvalidCardResponseException
Definition:
InvalidCardResponseException.hpp:26
keypop::reader::selection::InvalidCardResponseException::InvalidCardResponseException
InvalidCardResponseException(const std::string &message)
Definition:
InvalidCardResponseException.hpp:32
keypop::reader::selection::InvalidCardResponseException::InvalidCardResponseException
InvalidCardResponseException(const std::string &message, const std::shared_ptr< std::exception > cause)
Definition:
InvalidCardResponseException.hpp:41
keypop
Definition:
CardCommunicationException.hpp:16
Generated by
1.9.2