![]() |
Paho C++
1.0
The Paho MQTT C++ Client Library
|
This exception is thrown by the implementor of the persistence interface if there is a problem reading or writing persistent data. More...
#include <exception.h>
Public Member Functions | |
| persistence_exception () | |
| Creates an MQTT persistence exception. | |
| persistence_exception (int code) | |
| Creates an MQTT persistence exception. More... | |
| persistence_exception (const string &msg) | |
| Creates an MQTT persistence exception. More... | |
| persistence_exception (int code, const string &msg) | |
| Creates an MQTT persistence exception. More... | |
Public Member Functions inherited from mqtt::exception | |
| exception (int code) | |
| Creates an MQTT exception. More... | |
| exception (int code, const string &msg) | |
| Creates an MQTT exception. More... | |
| string | get_message () const |
| Returns the error message for this exception. | |
| int | get_reason_code () const |
| Returns the reason code for this exception. | |
| string | to_string () const |
| Gets a string representation of this exception. More... | |
Additional Inherited Members | |
Protected Attributes inherited from mqtt::exception | |
| int | code_ |
| The error code from the C library. | |
| string | msg_ |
| The error message from the C library. | |
This exception is thrown by the implementor of the persistence interface if there is a problem reading or writing persistent data.
|
inlineexplicit |
Creates an MQTT persistence exception.
| code | The error code from the C library. |
|
inlineexplicit |
Creates an MQTT persistence exception.
| msg | The text message for the error. |
|
inline |
Creates an MQTT persistence exception.
| code | The error code |
| msg | The text message for the error. |