MBSim

Project Page
Public Member Functions | Private Attributes
MBSim::MBSimError Class Reference

basic error class for mbsim More...

#include <mbsim_event.h>

List of all members.

Public Member Functions

 MBSimError (const Element *context, const std::string &mbsim_error_message_) throw ()
 constructor
 MBSimError (const std::string &mbsim_error_message_) throw ()
 constructor ctor variant without a context
void setContext (const Element *context)
std::string getErrorMessage () const
std::string getPath () const
virtual const char * what () const throw ()

Private Attributes

std::string mbsim_error_message
 error message
std::string path
std::string whatMsg

Detailed Description

basic error class for mbsim

Author:
Thorsten Schindler
Date:
2009-03-20 inital commit (Thorsten Schindler)
2013-05-15 changed base class to std::exception (Martin Foerg)

Constructor & Destructor Documentation

MBSim::MBSimError::MBSimError ( const Element *  context,
const std::string &  mbsim_error_message_ 
) throw ()

constructor

Parameters:
messageto be written
contextthe conext MBSim::Element where the error occured

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