Keypop Calypso Card C++ API 2.0.0
Reference Calypso Card API for C++
CardSignatureNotVerifiableException.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 <memory>
13#include <stdexcept>
14#include <string>
15
16namespace keypop {
17namespace calypso {
18namespace card {
19namespace transaction {
20
28class CardSignatureNotVerifiableException final : public std::runtime_error {
29public:
34 explicit CardSignatureNotVerifiableException(const std::string& message)
35 : std::runtime_error(message) {
36 }
37
46 const std::string& message, const std::shared_ptr<std::exception> cause)
47 : std::runtime_error(message) {
48 (void)cause;
49 }
50};
51
52} /* namespace transaction */
53} /* namespace card */
54} /* namespace calypso */
55} /* namespace keypop */
CardSignatureNotVerifiableException(const std::string &message, const std::shared_ptr< std::exception > cause)