LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
sim::MCBaseException Class Reference

#include "MCBaseException.h"

Inheritance diagram for sim::MCBaseException:

Public Member Functions

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

Private Attributes

std::string _msg
 

Detailed Description

Simple exception class for MCBase package

Definition at line 25 of file MCBaseException.h.

Constructor & Destructor Documentation

sim::MCBaseException::MCBaseException ( std::string  msg = "")
inline

Definition at line 28 of file MCBaseException.h.

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

Definition at line 30 of file MCBaseException.h.

30 {}

Member Function Documentation

virtual const char* sim::MCBaseException::what ( ) const
throw (
)
inlinevirtual

Definition at line 31 of file MCBaseException.h.

References _msg.

31 { return _msg.c_str(); }

Member Data Documentation

std::string sim::MCBaseException::_msg
private

Definition at line 34 of file MCBaseException.h.

Referenced by what().


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