All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Private Attributes | List of all members
MBSim::MBSimError Class Reference

basic error class for mbsim More...

#include <mbsim_event.h>

Inheritance diagram for MBSim::MBSimError:

Public Member Functions

 MBSimError (const Element *context, const std::string &mbsim_error_message_) throw ()
 constructor More...
 
 MBSimError (const std::string &mbsim_error_message_) throw ()
 constructor ctor variant without a context
 
void setContext (const Element *context)
 
const std::string & getErrorMessage () const
 
const std::string & getPath () const
 
const std::vector
< MBXMLUtils::EmbedDOMLocator > & 
getLocationStack () const
 
virtual const char * what () const throw ()
 

Private Attributes

std::string mbsim_error_message
 error message
 
std::string path
 
std::vector
< MBXMLUtils::EmbedDOMLocator > 
locationStack
 
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 files:

Impressum / Disclaimer / Datenschutz Generated by doxygen 1.8.5 Valid HTML