Keypop Card C++ API 2.0.0
Reference Card API for C++
include
keypop
card
ParseException.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
card {
18
27
class
ParseException
:
public
std::exception {
28
public
:
33
explicit
ParseException
(
const
std::string& message)
34
: std::exception() {
35
(void)message;
36
}
37
43
ParseException
(
const
std::string& message,
const
std::shared_ptr<std::exception> cause)
44
: std::exception(*cause) {
45
(void)message;
46
}
47
};
48
49
}
/* namespace card */
50
}
/* namespace keypop */
keypop::card::ParseException
Definition:
ParseException.hpp:27
keypop::card::ParseException::ParseException
ParseException(const std::string &message, const std::shared_ptr< std::exception > cause)
Definition:
ParseException.hpp:43
keypop::card::ParseException::ParseException
ParseException(const std::string &message)
Definition:
ParseException.hpp:33
keypop
Definition:
AbstractApduException.hpp:18
Generated by
1.9.2