SPSP
Simple publish-subscribe protocol. Connects low power IoT clients to MQTT.
All Classes Files Functions Variables Typedefs Enumerations
Public Member Functions | List of all members
SPSP::Exception Class Reference

Base SPSP exception. More...

#include <exception.hpp>

Inheritance diagram for SPSP::Exception:
Inheritance graph
[legend]
Collaboration diagram for SPSP::Exception:
Collaboration graph
[legend]

Public Member Functions

 Exception (const std::string &msg)
 Constructs a new exception. More...
 
virtual const char * what () const noexcept
 Returns exception's message. More...
 

Detailed Description

Base SPSP exception.

Definition at line 21 of file exception.hpp.

Constructor & Destructor Documentation

◆ Exception()

SPSP::Exception::Exception ( const std::string &  msg)
inlineexplicit

Constructs a new exception.

Parameters
msgMessage

Definition at line 31 of file exception.hpp.

Member Function Documentation

◆ what()

virtual const char* SPSP::Exception::what ( ) const
inlinevirtualnoexcept

Returns exception's message.

Returns
Message

Definition at line 38 of file exception.hpp.


The documentation for this class was generated from the following file: