LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
cmtool::CMTException Class Reference

#include "CMTException.h"

Inheritance diagram for cmtool::CMTException:

Public Member Functions

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

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  : std::exception(), _msg(msg)
30  {}
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33
virtual cmtool::CMTException::~CMTException ( )
throw (
)
inlinevirtual

Definition at line 32 of file CMTException.h.

32 {};

Member Function Documentation

virtual const char* cmtool::CMTException::what ( ) const
throw (
)
inlinevirtual

Definition at line 33 of file CMTException.h.

References _msg.

Referenced by showerreco::ShowerRecoManager::Reconstruct().

34  {return _msg.c_str(); }

Member Data Documentation

std::string cmtool::CMTException::_msg
private

Definition at line 38 of file CMTException.h.

Referenced by what().


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