Public Member Functions | Private Attributes | List of all members
cluster::CRUException Class Reference

#include <CRUException.h>

Inheritance diagram for cluster::CRUException:

Public Member Functions

 CRUException (std::string msg="")
 
const char * what () const noexcept override
 

Private Attributes

std::string _msg
 

Detailed Description

Generic (base) exception class

Definition at line 25 of file CRUException.h.

Constructor & Destructor Documentation

cluster::CRUException::CRUException ( std::string  msg = "")
inline

Definition at line 29 of file CRUException.h.

29  : _msg(msg)
30  {}
void msg(const char *fmt,...)
Definition: message.cpp:107

Member Function Documentation

const char* cluster::CRUException::what ( void  ) const
inlineoverridenoexcept

Definition at line 32 of file CRUException.h.

33  {return _msg.c_str(); }

Member Data Documentation

std::string cluster::CRUException::_msg
private

Definition at line 37 of file CRUException.h.


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