LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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 29 of file MCBTException.h.

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

Definition at line 31 of file MCBTException.h.

31 {};

Member Function Documentation

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

Definition at line 32 of file MCBTException.h.

References _msg.

32 { return _msg.c_str(); }

Member Data Documentation

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

Definition at line 35 of file MCBTException.h.

Referenced by what().


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