Keypop Calypso Card C++ API 2.0.0
Reference Calypso Card API for C++
InvalidCardSignatureException.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 <memory>
14#include <stdexcept>
15#include <string>
16
17namespace keypop {
18namespace calypso {
19namespace card {
20namespace transaction {
21
40class InvalidCardSignatureException final : public std::runtime_error {
41public:
46 explicit InvalidCardSignatureException(const std::string& message)
47 : std::runtime_error(message) {
48 }
49
58 const std::string& message, const std::shared_ptr<std::exception> cause)
59 : std::runtime_error(message) {
60 (void)cause;
61 }
62};
63
64} /* namespace transaction */
65} /* namespace card */
66} /* namespace calypso */
67} /* namespace keypop */
InvalidCardSignatureException(const std::string &message, const std::shared_ptr< std::exception > cause)