All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 noexceptoverride
 

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  {}

Member Function Documentation

const char* cmtool::CMTException::what ( ) 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: