SOIL C++
C++ Unified Device Interface
LocalException.h
Go to the documentation of this file.
1
#pragma once
2
#include "
constants.h
"
3
#include <stdexcept>
4
5
6
namespace
MQTT
7
{
13
class
DLL
Exception
:
public
std::runtime_error
14
{
15
private
:
16
22
int
_code;
23
public
:
24
32
Exception
(
const
char
* message =
""
,
int
code = 0);
33
40
Exception
(
const
std::exception& exc);
41
47
~Exception
(
void
);
48
55
inline
const
int
code
(
void
)
const
{
return
_code; }
56
};
57
}
58
59
60
constants.h
MQTT::Exception
MQTT Publisher Exception.
Definition:
LocalException.h:14
MQTT::Exception::code
const int code(void) const
Result Code.
Definition:
LocalException.h:55
MQTT
Definition:
Configuration.h:6
src
MQTT
LocalException.h
Generated by
1.9.3