Keypop Reader C++ API 2.0.0
Reference Reader API for C++
include
keypop
reader
ReaderProtocolNotSupportedException.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 <stdexcept>
14
#include <string>
15
16
namespace
keypop
{
17
namespace
reader {
18
24
class
ReaderProtocolNotSupportedException
final :
public
std::runtime_error {
25
public
:
30
explicit
ReaderProtocolNotSupportedException
(
31
const
std::string& cardProtocol)
32
: std::runtime_error(
33
"The card protocol "
+ cardProtocol +
" is not supported."
)
34
{
35
}
36
};
37
38
}
/* namespace reader */
39
}
/* namespace keypop */
keypop::reader::ReaderProtocolNotSupportedException
Definition:
ReaderProtocolNotSupportedException.hpp:24
keypop::reader::ReaderProtocolNotSupportedException::ReaderProtocolNotSupportedException
ReaderProtocolNotSupportedException(const std::string &cardProtocol)
Definition:
ReaderProtocolNotSupportedException.hpp:30
keypop
Definition:
CardCommunicationException.hpp:17
Generated by
1.9.2