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) 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 <map>
14
#include <memory>
15
#include <stdexcept>
16
#include <string>
17
18
namespace
keypop
{
19
namespace
reader {
20
namespace
selection {
21
28
class
InvalidCardResponseException
final :
public
std::runtime_error {
29
public
:
34
explicit
InvalidCardResponseException
(
const
std::string& message)
35
: std::runtime_error(message)
36
{
37
}
38
44
InvalidCardResponseException
(
45
const
std::string& message,
const
std::shared_ptr<std::exception> cause)
46
: std::runtime_error(message)
47
{
48
// FIXME: should we use cause?
49
(void)cause;
50
}
51
};
52
53
}
/* namespace selection */
54
}
/* namespace reader */
55
}
/* namespace keypop */
keypop::reader::selection::InvalidCardResponseException
Definition:
InvalidCardResponseException.hpp:28
keypop::reader::selection::InvalidCardResponseException::InvalidCardResponseException
InvalidCardResponseException(const std::string &message)
Definition:
InvalidCardResponseException.hpp:34
keypop::reader::selection::InvalidCardResponseException::InvalidCardResponseException
InvalidCardResponseException(const std::string &message, const std::shared_ptr< std::exception > cause)
Definition:
InvalidCardResponseException.hpp:44
keypop
Definition:
CardCommunicationException.hpp:17
Generated by
1.9.2