Keypop Calypso Card C++ API - 2.2.0
Component of the Keypop C++ API
InvalidCertificateException.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
35class InvalidCertificateException final : public std::runtime_error {
36public:
41 explicit InvalidCertificateException(const std::string& message)
42 : std::runtime_error(message) {
43 }
44
53 const std::string& message, const std::exception& /*cause*/)
54 : std::runtime_error(message) {
55 }
56};
57
58} /* namespace transaction */
59} /* namespace card */
60} /* namespace calypso */
61} /* namespace keypop */
InvalidCertificateException(const std::string &message, const std::exception &)
Encapsulates a lower level exception.