OpenLexocad  27.0
Base::Exception Class Reference

#include <Exception.h>

Inheritance diagram for Base::Exception:
Base::AbortException Base::BadArguments Base::ConstructionError Base::FailedNotDone Base::FileException Base::GuidInUseException Base::ItemNotFound Base::MemoryException Base::NotaNumber Base::OutOfRange Base::VectorWithNullMagnitude

Public Member Functions

 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)
 

Protected Attributes

std::string _sErrMsg
 
std::string _sErrDetail
 

Constructor & Destructor Documentation

◆ Exception() [1/3]

Base::Exception::Exception ( const char *  sMessage,
const char *  detail 
)

◆ Exception() [2/3]

Base::Exception::Exception ( void  )

◆ Exception() [3/3]

Base::Exception::Exception ( const Exception inst)

◆ ~Exception()

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

Member Function Documentation

◆ detail()

virtual const char* Base::Exception::detail ( void  ) const
throw (
)
virtual

◆ operator=()

Exception& Base::Exception::operator= ( const Exception inst)

◆ ReportException()

void Base::Exception::ReportException ( void  ) const

◆ SetMessage()

void Base::Exception::SetMessage ( const char *  sMessage)
inline

◆ what()

Member Data Documentation

◆ _sErrDetail

std::string Base::Exception::_sErrDetail
protected

◆ _sErrMsg

std::string Base::Exception::_sErrMsg
protected

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