Public Member Functions | Private Attributes | List of all members
cmtool::CMTException Class Reference

#include <CMTException.h>

Inheritance diagram for cmtool::CMTException:

Public Member Functions

 CMTException (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 CMTException.h.

Constructor & Destructor Documentation

cmtool::CMTException::CMTException ( std::string  msg = "")
inline

Definition at line 29 of file CMTException.h.

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

Member Function Documentation

const char* cmtool::CMTException::what ( void  ) const
inlineoverridenoexcept

Definition at line 32 of file CMTException.h.

33  {return _msg.c_str(); }

Member Data Documentation

std::string cmtool::CMTException::_msg
private

Definition at line 37 of file CMTException.h.


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