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) 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 <stdexcept>
13
#include <string>
14
15
namespace
keypop
{
16
namespace
reader {
17
23
class
ReaderProtocolNotSupportedException
final :
public
std::runtime_error {
24
public
:
29
explicit
ReaderProtocolNotSupportedException
(
const
std::string& cardProtocol)
30
: std::runtime_error(
"The card protocol "
+ cardProtocol +
" is not supported."
) {
31
}
32
};
33
34
}
/* namespace reader */
35
}
/* namespace keypop */
keypop::reader::ReaderProtocolNotSupportedException
Definition:
ReaderProtocolNotSupportedException.hpp:23
keypop::reader::ReaderProtocolNotSupportedException::ReaderProtocolNotSupportedException
ReaderProtocolNotSupportedException(const std::string &cardProtocol)
Definition:
ReaderProtocolNotSupportedException.hpp:29
keypop
Definition:
CardCommunicationException.hpp:16
Generated by
1.9.2