All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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  {}
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.

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: