Keypop Calypso Card C++ API 2.0.0
Reference Calypso Card API for C++
include
keypop
calypso
card
transaction
InvalidPinException.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
card {
19
namespace
transaction {
20
26
class
InvalidPinException
final :
public
std::runtime_error {
27
public
:
32
explicit
InvalidPinException
(
const
std::string& message)
33
: std::runtime_error(message) {
34
}
35
43
InvalidPinException
(
const
std::string& message,
const
std::shared_ptr<std::exception> cause)
44
: std::runtime_error(message) {
45
(void)cause;
46
}
47
};
48
49
}
/* namespace transaction */
50
}
/* namespace card */
51
}
/* namespace calypso */
52
}
/* namespace keypop */
keypop::calypso::card::transaction::InvalidPinException
Definition:
InvalidPinException.hpp:26
keypop::calypso::card::transaction::InvalidPinException::InvalidPinException
InvalidPinException(const std::string &message, const std::shared_ptr< std::exception > cause)
Definition:
InvalidPinException.hpp:43
keypop::calypso::card::transaction::InvalidPinException::InvalidPinException
InvalidPinException(const std::string &message)
Definition:
InvalidPinException.hpp:32
keypop
Definition:
CalypsoCardApiFactory.hpp:22
Generated by
1.9.2