Keypop Calypso Crypto Legacy SAM C++ API 0.6.0
Reference Calypso Crypto Legacy SAM API for C++
SamRevokedException.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 crypto {
19namespace legacysam {
20namespace transaction {
21
27class SamRevokedException final : public std::runtime_error {
28public:
33 explicit SamRevokedException(const std::string& message)
34 : std::runtime_error(message) {
35 }
36};
37
38} /* namespace transaction */
39} /* namespace legacysam */
40} /* namespace crypto */
41} /* namespace calypso */
42} /* namespace keypop */