Keypop Reader C++ API 2.0.0
Reference Reader API for C++
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
16namespace keypop {
17namespace reader {
18
24class ReaderProtocolNotSupportedException final : public std::runtime_error {
25public:
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 */