Public Member Functions | Private Attributes | List of all members
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  {}
void msg(const char *fmt,...)
Definition: message.cpp:107
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 ( void  ) const
throw (
)
inlinevirtual

Definition at line 33 of file MCBaseException.h.

34  {return _msg.c_str(); }

Member Data Documentation

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

Definition at line 38 of file MCBaseException.h.


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