LArSoft  v06_85_00
Liquid Argon Software toolkit - http://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 29 of file MCBaseException.h.

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

Definition at line 32 of file MCBaseException.h.

32 {}

Member Function Documentation

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

Definition at line 33 of file MCBaseException.h.

References _msg.

34  {return _msg.c_str(); }

Member Data Documentation

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

Definition at line 38 of file MCBaseException.h.

Referenced by what().


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