SOIL C++
C++ Unified Device Interface
LocalException.cpp
Go to the documentation of this file.
1
#include "
LocalException.h
"
2
3
4
5
MQTT::Exception::Exception
(
const
char
* message,
int
code): std::runtime_error(message), _code(code)
6
{
7
}
8
9
MQTT::Exception::Exception
(
const
std::exception & exc) : std::runtime_error(exc.what())
10
{
11
_code = 0;
12
}
13
14
MQTT::Exception::~Exception
()
15
{
16
}
17
18
LocalException.h
MQTT::Exception::Exception
Exception(const char *message="", int code=0)
Constructor.
Definition:
LocalException.cpp:5
MQTT::Exception::~Exception
~Exception(void)
Destructor.
Definition:
LocalException.cpp:14
src
MQTT
LocalException.cpp
Generated by
1.9.3