Version: 8.3.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 charwhat (void) const throw ()
 
virtual ~DSC_Exception (void) throw ()
 
virtual const std::string & getExceptionName () const
 

Protected Attributes

std::string _dscText
 
std::string _filefuncName
 
int _lineNumber
 
std::string _exceptionName
 
std::string _what
 
const char_text
 

Private Member Functions

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

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented in CalciumException.

References _exceptionName.

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

References ASSERT.

Field Documentation

std::string DSC_Exception::_dscText
protected

Referenced by DSC_Exception().

std::string DSC_Exception::_exceptionName
protected

Referenced by DSC_Exception(), and getExceptionName().

std::string DSC_Exception::_filefuncName
protected

Referenced by DSC_Exception().

int DSC_Exception::_lineNumber
protected

Referenced by DSC_Exception().

const char* SALOME_Exception::_text
protectedinherited
std::string DSC_Exception::_what
protected

Referenced by DSC_Exception(), and what().