Version: 9.12.0
SALOME_Exception Class Reference

#include <Utils_SALOME_Exception.hxx>

Inheritance diagram for SALOME_Exception:

Public Member Functions

 SALOME_Exception ()=delete
 
 SALOME_Exception (const std::string &text)
 
 SALOME_Exception (const char *text, const char *fileName=nullptr, const unsigned int lineNumber=0)
 
virtual ~SALOME_Exception () noexcept
 
virtual const char * what (void) const noexcept
 

Protected Attributes

std::string _text
 

Friends

std::ostream & operator<< (std::ostream &os, const SALOME_Exception &ex)
 

Constructor & Destructor Documentation

◆ SALOME_Exception() [1/3]

SALOME_Exception::SALOME_Exception ( )
delete

◆ SALOME_Exception() [2/3]

SALOME_Exception::SALOME_Exception ( const std::string &  text)

◆ SALOME_Exception() [3/3]

SALOME_Exception::SALOME_Exception ( const char *  text,
const char *  fileName = nullptr,
const unsigned int  lineNumber = 0 
)

◆ ~SALOME_Exception()

SALOME_Exception::~SALOME_Exception ( )
virtualnoexcept

Member Function Documentation

◆ what()

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const SALOME_Exception ex 
)
friend

Field Documentation

◆ _text

std::string SALOME_Exception::_text
protected