mbsim  4.0.0
MBSim Kernel
MBSim::MBSimError Class Reference

basic error class for mbsim More...

#include <mbsim_event.h>

Inheritance diagram for MBSim::MBSimError:
[legend]

Public Member Functions

 MBSimError (const Element *context, std::string mbsim_error_message_) noexcept
 constructor More...
 
 MBSimError (const Solver *context, std::string mbsim_error_message_) noexcept
 constructor More...
 
const std::string & getErrorMessage () const
 
const std::string & getPath () const
 
const char * what () const noexcept override
 

Private Attributes

std::string mbsim_error_message
 error message
 
std::string path
 
MBXMLUtils::DOMEvalException domEvalError
 
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

◆ MBSimError() [1/2]

MBSim::MBSimError::MBSimError ( const Element context,
std::string  mbsim_error_message_ 
)
noexcept

constructor

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

◆ MBSimError() [2/2]

MBSim::MBSimError::MBSimError ( const Solver context,
std::string  mbsim_error_message_ 
)
noexcept

constructor

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

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