LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
btutil::MCBTException Class Reference

#include "MCBTException.h"

Inheritance diagram for btutil::MCBTException:

Public Member Functions

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

Private Attributes

std::string _msg
 

Detailed Description

Generic (base) exception class

Definition at line 26 of file MCBTException.h.

Constructor & Destructor Documentation

btutil::MCBTException::MCBTException ( std::string  msg = "")
inline

Definition at line 30 of file MCBTException.h.

30  : std::exception(), _msg(msg)
31  {}
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33
virtual btutil::MCBTException::~MCBTException ( )
throw (
)
inlinevirtual

Definition at line 33 of file MCBTException.h.

33 {};

Member Function Documentation

virtual const char* btutil::MCBTException::what ( ) const
throw (
)
inlinevirtual

Definition at line 34 of file MCBTException.h.

References _msg.

35  {return _msg.c_str(); }

Member Data Documentation

std::string btutil::MCBTException::_msg
private

Definition at line 39 of file MCBTException.h.

Referenced by what().


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