LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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 30 of file GeoAlgoException.h.

References _msg.

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

Definition at line 37 of file GeoAlgoException.h.

37 {};

Member Function Documentation

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

Definition at line 38 of file GeoAlgoException.h.

References _msg.

38 { return _msg.c_str(); }

Member Data Documentation

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

Definition at line 41 of file GeoAlgoException.h.

Referenced by GeoAlgoException(), and what().


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