OpenLexocad  27.1
Base::RuntimeError Class Reference

#include <Exception.h>

Inheritance diagram for Base::RuntimeError:
Base::Exception

Public Member Functions

 RuntimeError ()
 Construction. More...
 
 RuntimeError (const char *sMessage)
 
 RuntimeError (const std::string &sMessage)
 
virtual ~RuntimeError () throw ()
 Destruction. More...
 
- Public Member Functions inherited from Base::Exception
 Exception (const char *sMessage, const char *detail)
 
 Exception (void)
 
 Exception (const Exception &inst)
 
virtual ~Exception () throw ()
 
Exceptionoperator= (const Exception &inst)
 
virtual const char * what (void) const throw ()
 
virtual const char * detail (void) const throw ()
 
void ReportException (void) const
 
void SetMessage (const char *sMessage)
 
std::string getFile () const
 
int getLine () const
 
std::string getFunction () const
 
bool getTranslatable () const
 
bool getReported () const
 
void setDebugInformation (const std::string &file, const int line, const std::string &function)
 
void setTranslatable (bool translatable)
 
void setReported (bool reported)
 

Additional Inherited Members

- Protected Attributes inherited from Base::Exception
std::string _sErrMsg
 
std::string _sErrDetail
 
std::string _file { "" }
 
int _line { -1 }
 
std::string _function { "" }
 
bool _isTranslatable { false }
 
bool _isReported { false }
 

Constructor & Destructor Documentation

◆ RuntimeError() [1/3]

Base::RuntimeError::RuntimeError ( )

Construction.

◆ RuntimeError() [2/3]

Base::RuntimeError::RuntimeError ( const char *  sMessage)

◆ RuntimeError() [3/3]

Base::RuntimeError::RuntimeError ( const std::string &  sMessage)

◆ ~RuntimeError()

virtual Base::RuntimeError::~RuntimeError ( )
throw (
)
inlinevirtual

Destruction.


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