Public Member Functions | Private Attributes | List of all members
swarmio::Exception Class Reference

Exception class thrown by all library classes. More...

#include <Exception.h>

Inheritance diagram for swarmio::Exception:
Inheritance graph
[legend]

Public Member Functions

 Exception (const char *message)
 Construct a new Exception. More...
 
const char * what () const noexceptoverride
 Get the error message. More...
 

Private Attributes

std::string _message
 The buffer where the message is stored. More...
 

Detailed Description

Exception class thrown by all library classes.

Definition at line 12 of file libswarmio/include/swarmio/Exception.h.

Constructor & Destructor Documentation

swarmio::Exception::Exception ( const char *  message)
inline

Construct a new Exception.

Parameters
messageHuman readable error message

Definition at line 29 of file libswarmio/include/swarmio/Exception.h.

Member Function Documentation

const char* swarmio::Exception::what ( ) const
inlineoverridenoexcept

Get the error message.

Returns
const char*

Definition at line 37 of file libswarmio/include/swarmio/Exception.h.

Member Data Documentation

std::string swarmio::Exception::_message
private

The buffer where the message is stored.

Definition at line 20 of file libswarmio/include/swarmio/Exception.h.


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


swarmros
Author(s):
autogenerated on Fri Apr 3 2020 03:42:48