All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
showerreco::ShowerRecoException Class Reference

#include <ShowerRecoException.h>

Inheritance diagram for showerreco::ShowerRecoException:

Public Member Functions

 ShowerRecoException (std::string msg="")
 
virtual ~ShowerRecoException () throw ()
 
virtual const char * what () const throw ()
 

Private Attributes

std::string _msg
 

Detailed Description

Generic (base) exception class

Definition at line 25 of file ShowerRecoException.h.

Constructor & Destructor Documentation

showerreco::ShowerRecoException::ShowerRecoException ( std::string  msg = "")
inline

Definition at line 29 of file ShowerRecoException.h.

29  : std::exception()
30  {
31  _msg = "\033[93m";
32  _msg += msg;
33  _msg += "\033[00m";
34  }
virtual showerreco::ShowerRecoException::~ShowerRecoException ( )
throw (
)
inlinevirtual

Definition at line 36 of file ShowerRecoException.h.

36 {};

Member Function Documentation

virtual const char* showerreco::ShowerRecoException::what ( ) const
throw (
)
inlinevirtual

Definition at line 37 of file ShowerRecoException.h.

38  { return _msg.c_str(); }

Member Data Documentation

std::string showerreco::ShowerRecoException::_msg
private

Definition at line 42 of file ShowerRecoException.h.


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