Public Member Functions | Private Attributes | List of all members
geoalgo::GeoAlgoException Class Reference

#include <GeoAlgoException.h>

Inheritance diagram for geoalgo::GeoAlgoException:

Public Member Functions

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

Private Attributes

std::string _msg
 

Detailed Description

User defined class GeoAlgoException ... these comments are used to generate doxygen documentation!

Definition at line 27 of file GeoAlgoException.h.

Constructor & Destructor Documentation

geoalgo::GeoAlgoException::GeoAlgoException ( std::string  msg = "")
inline

Definition at line 31 of file GeoAlgoException.h.

31  : std::exception()
32  {
33  _msg = "\n\033[93m<<EXCEPTION>>\033[00m\033[95m ";
34  _msg += msg;
35  _msg += "\033[00m\n";
36  }
void msg(const char *fmt,...)
Definition: message.cpp:107
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33
virtual geoalgo::GeoAlgoException::~GeoAlgoException ( )
throw (
)
inlinevirtual

Definition at line 38 of file GeoAlgoException.h.

38 {};

Member Function Documentation

virtual const char* geoalgo::GeoAlgoException::what ( void  ) const
throw (
)
inlinevirtual

Definition at line 39 of file GeoAlgoException.h.

40  {return _msg.c_str(); }

Member Data Documentation

std::string geoalgo::GeoAlgoException::_msg
private

Definition at line 44 of file GeoAlgoException.h.


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