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