Keypop Reader C++ API - 2.1.0
Component of the Keypop C++ API
ReaderProtocolNotSupportedException.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
27
class
ReaderProtocolNotSupportedException
final :
public
std::runtime_error {
28
public
:
33
explicit
ReaderProtocolNotSupportedException
(
34
const
std::string& cardProtocol)
35
: std::runtime_error(
36
"The card protocol "
+ cardProtocol +
" is not supported."
)
37
{
38
}
39
};
40
41
}
/* namespace reader */
42
}
/* namespace keypop */
keypop::reader::ReaderProtocolNotSupportedException
Indicates that the current card protocol is not supported by the reader.
Definition:
ReaderProtocolNotSupportedException.hpp:27
keypop::reader::ReaderProtocolNotSupportedException::ReaderProtocolNotSupportedException
ReaderProtocolNotSupportedException(const std::string &cardProtocol)
Definition:
ReaderProtocolNotSupportedException.hpp:33
keypop
Definition:
CardCommunicationException.hpp:20
keypop
reader
ReaderProtocolNotSupportedException.hpp
Generated by
1.9.2