Keypop Reader C++ API - 2.1.0
Component of the Keypop C++ API
ReaderCommunicationException.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 <stdexcept>
17
#include <string>
18
19
namespace
keypop
{
20
namespace
reader {
21
30
class
ReaderCommunicationException
final :
public
std::runtime_error {
31
public
:
36
explicit
ReaderCommunicationException
(
const
std::string& message)
37
: std::runtime_error(message)
38
{
39
}
40
46
ReaderCommunicationException
(
47
const
std::string& message,
const
std::exception&
/*cause*/
)
48
: std::runtime_error(message)
49
{
50
}
51
};
52
53
}
/* namespace reader */
54
}
/* namespace keypop */
keypop::reader::ReaderCommunicationException
Indicates that the communication with the reader failed.
Definition:
ReaderCommunicationException.hpp:30
keypop::reader::ReaderCommunicationException::ReaderCommunicationException
ReaderCommunicationException(const std::string &message, const std::exception &)
Definition:
ReaderCommunicationException.hpp:46
keypop::reader::ReaderCommunicationException::ReaderCommunicationException
ReaderCommunicationException(const std::string &message)
Definition:
ReaderCommunicationException.hpp:36
keypop
Definition:
CardCommunicationException.hpp:20
keypop
reader
ReaderCommunicationException.hpp
Generated by
1.9.2