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) 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
15namespace keypop {
16namespace reader {
17
23class ReaderProtocolNotSupportedException final : public std::runtime_error {
24public:
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 */