Keypop Calypso Crypto Asymmetric C++ API 0.2.0
Reference Calypso Crypto Asymmetric API for C++
include
keypop
calypso
crypto
asymmetric
AsymmetricCryptoException.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
16
namespace
keypop
{
17
namespace
calypso {
18
namespace
crypto {
19
namespace
asymmetric {
20
26
class
AsymmetricCryptoException
final : std::exception {
27
public
:
32
explicit
AsymmetricCryptoException
(
const
std::string& message)
33
: std::exception() {
34
(void)message;
35
}
36
44
AsymmetricCryptoException
(
45
const
std::string& message,
const
std::shared_ptr<std::exception> cause)
46
: std::exception(*cause) {
47
(void)message;
48
}
49
};
50
51
}
/* namespace asymmetric */
52
}
/* namespace crypto */
53
}
/* namespace calypso */
54
}
/* namespace keypop */
keypop::calypso::crypto::asymmetric::AsymmetricCryptoException
Definition:
AsymmetricCryptoException.hpp:26
keypop::calypso::crypto::asymmetric::AsymmetricCryptoException::AsymmetricCryptoException
AsymmetricCryptoException(const std::string &message)
Definition:
AsymmetricCryptoException.hpp:32
keypop::calypso::crypto::asymmetric::AsymmetricCryptoException::AsymmetricCryptoException
AsymmetricCryptoException(const std::string &message, const std::shared_ptr< std::exception > cause)
Definition:
AsymmetricCryptoException.hpp:44
keypop
Definition:
AsymmetricCryptoApiProperties.hpp:14
Generated by
1.9.2