larutil::LArUtilException Class Reference

Generic (base) exception class. More...

#include <LArUtilException.hh>

Inherits std::exception.

List of all members.

Public Member Functions

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

Private Attributes

std::string _msg

Detailed Description

Generic (base) exception class.

Definition at line 25 of file LArUtilException.hh.


Constructor & Destructor Documentation

larutil::LArUtilException::LArUtilException ( std::string  msg = ""  )  [inline]

Definition at line 29 of file LArUtilException.hh.

References _msg.

00029                                        : std::exception()
00030     {
00031       _msg = "\033[93m";
00032       _msg += msg;
00033       _msg += "\033[00m";
00034     }

virtual larutil::LArUtilException::~LArUtilException (  )  throw () [inline, virtual]

Definition at line 36 of file LArUtilException.hh.

00036 {};


Member Function Documentation

virtual const char* larutil::LArUtilException::what (  )  const throw () [inline, virtual]

Definition at line 37 of file LArUtilException.hh.

References _msg.

Referenced by larutil::LArUtilBase::LoadData().

00038     { return _msg.c_str(); }


Member Data Documentation

std::string larutil::LArUtilException::_msg [private]

Definition at line 42 of file LArUtilException.hh.

Referenced by LArUtilException(), and what().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Enumerator

Generated on 3 Jun 2014 for MyProject by  doxygen 1.6.1