Version: 9.12.0
DSC_Exception Struct Reference

#include <DSC_Exception.hxx>

Inheritance diagram for DSC_Exception:

Public Member Functions

 DSC_Exception (const std::string &text, const char *fileName="", const unsigned int lineNumber=0, const char *funcName="")
 
virtual const char * what (void) const noexcept
 
virtual ~DSC_Exception (void) noexcept
 
virtual const std::string & getExceptionName () const
 

Protected Attributes

std::string _dscText
 
std::string _filefuncName
 
int _lineNumber
 
std::string _exceptionName
 
std::string _what
 
std::string _text
 

Private Member Functions

std::string setFileFuncName (const char *fileName, const char *funcName)
 

Constructor & Destructor Documentation

◆ DSC_Exception()

DSC_Exception::DSC_Exception ( const std::string &  text,
const char *  fileName = "",
const unsigned int  lineNumber = 0,
const char *  funcName = "" 
)

◆ ~DSC_Exception()

virtual DSC_Exception::~DSC_Exception ( void  )
virtualnoexcept

Member Function Documentation

◆ getExceptionName()

virtual const std::string& DSC_Exception::getExceptionName ( ) const
virtual

Reimplemented in CalciumException.

References _exceptionName.

◆ setFileFuncName()

std::string DSC_Exception::setFileFuncName ( const char *  fileName,
const char *  funcName 
)
private

References ASSERT.

◆ what()

Field Documentation

◆ _dscText

std::string DSC_Exception::_dscText
protected

Referenced by DSC_Exception().

◆ _exceptionName

std::string DSC_Exception::_exceptionName
protected

Referenced by DSC_Exception(), and getExceptionName().

◆ _filefuncName

std::string DSC_Exception::_filefuncName
protected

Referenced by DSC_Exception().

◆ _lineNumber

int DSC_Exception::_lineNumber
protected

Referenced by DSC_Exception().

◆ _text

std::string SALOME_Exception::_text
protectedinherited

Referenced by DSC_Exception().

◆ _what

std::string DSC_Exception::_what
protected

Referenced by DSC_Exception(), and what().