Keyple Util C++ Library 2.0.0
Reference Terminal Reader API for C++
src
main
cpp
exception
Error.h
Go to the documentation of this file.
1
/**************************************************************************************************
2
* Copyright (c) 2021 Calypso Networks Association https://calypsonet.org/ *
3
* *
4
* See the NOTICE file(s) distributed with this work for additional information regarding *
5
* copyright ownership. *
6
* *
7
* This program and the accompanying materials are made available under the terms of the Eclipse *
8
* Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0 *
9
* *
10
* SPDX-License-Identifier: EPL-2.0 *
11
**************************************************************************************************/
12
13
#pragma once
14
15
#include <exception>
16
#include <string>
17
18
namespace
keyple
{
19
namespace
core {
20
namespace
util {
21
namespace
cpp {
22
namespace
exception {
23
24
class
Error
:
public
std::exception {
25
public
:
29
Error
() : mMessage(
""
) {}
30
34
Error
(
const
std::string& msg) : mMessage(msg) {}
35
36
private
:
40
const
std::string mMessage;
41
};
42
43
}
44
}
45
}
46
}
47
}
keyple::core::util::cpp::exception::Error
Definition:
Error.h:24
keyple::core::util::cpp::exception::Error::Error
Error(const std::string &msg)
Definition:
Error.h:34
keyple::core::util::cpp::exception::Error::Error
Error()
Definition:
Error.h:29
keyple
Definition:
ApduUtil.cpp:18
Generated by
1.9.2