ZIO
Python and C++ interface to ZeroMQ and Zyre
Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | List of all members
zio::exception Class Reference

general exception class for zio More...

#include <exceptions.hpp>

Inheritance diagram for zio::exception:
Inheritance graph
[legend]
Collaboration diagram for zio::exception:
Collaboration graph
[legend]

Public Member Functions

const char * what () const noexcept override
 returns the explanatory string More...
 

Public Attributes

const int id
 the id of the exception More...
 

Protected Member Functions

 exception (int id_, const char *what_arg)
 

Static Protected Member Functions

static std::string name (const std::string &ename, int id_)
 

Detailed Description

general exception class for zio

Definition at line 16 of file exceptions.hpp.

Constructor & Destructor Documentation

◆ exception()

zio::exception::exception ( int  id_,
const char *  what_arg 
)
inlineprotected

Definition at line 27 of file exceptions.hpp.

Member Function Documentation

◆ name()

static std::string zio::exception::name ( const std::string &  ename,
int  id_ 
)
inlinestaticprotected

Definition at line 28 of file exceptions.hpp.

◆ what()

const char* zio::exception::what ( ) const
inlineoverridenoexcept

returns the explanatory string

Definition at line 20 of file exceptions.hpp.

Member Data Documentation

◆ id

const int zio::exception::id

the id of the exception

Definition at line 24 of file exceptions.hpp.


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