LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
cmtool::CMTException Class Reference

#include "CMTException.h"

Inheritance diagram for cmtool::CMTException:

Public Member Functions

 CMTException (std::string msg="")
 
const char * what () const noexcept override
 

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 28 of file CMTException.h.

28 : _msg(msg) {}

Member Function Documentation

const char* cmtool::CMTException::what ( ) const
inlineoverridenoexcept

Definition at line 30 of file CMTException.h.

References _msg.

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

30 { return _msg.c_str(); }

Member Data Documentation

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

Definition at line 33 of file CMTException.h.

Referenced by what().


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