ESYS13
Revision_
|
EsysAssertException exception class. More...
#include <EsysAssertException.h>
Public Member Functions | |
EsysAssertException () | |
Default constructor for the exception. | |
EsysAssertException (const char *cstr) | |
Constructor for the exception. | |
EsysAssertException (const std::string &str) | |
Constructor for the exception. | |
EsysAssertException (const EsysAssertException &other) | |
Copy Constructor for the exception. | |
EsysAssertException & | operator= (const EsysAssertException &other) throw ( ) |
virtual | ~EsysAssertException () throw ( ) |
Destructor. | |
virtual const std::string & | exceptionName () const |
Returns the name of the exception. | |
Static Public Member Functions | |
static void | assertFailure (const std::string &assertion, const std::string &date, const std::string &file, int line, const std::string &errDesc) |
Builds a formatted message and throws an EsysAssertException. | |
Protected Types | |
typedef EsysException | Parent |
Static Private Attributes | |
static const std::string | exceptionNameValue |
EsysAssertException exception class.
Description: EsysAssertException exception class. The class provides a public function returning the exception name.
typedef EsysException esysUtils::EsysAssertException::Parent [protected] |
Reimplemented from esysUtils::EsysException.
esysUtils::EsysAssertException::EsysAssertException | ( | ) | [inline] |
Default constructor for the exception.
References esysUtils::EsysException::updateMessage().
Referenced by assertFailure().
esysUtils::EsysAssertException::EsysAssertException | ( | const char * | cstr | ) | [inline] |
Constructor for the exception.
References esysUtils::EsysException::updateMessage().
esysUtils::EsysAssertException::EsysAssertException | ( | const std::string & | str | ) | [inline] |
Constructor for the exception.
References esysUtils::EsysException::updateMessage().
esysUtils::EsysAssertException::EsysAssertException | ( | const EsysAssertException & | other | ) | [inline] |
Copy Constructor for the exception.
References esysUtils::EsysException::updateMessage().
virtual esysUtils::EsysAssertException::~EsysAssertException | ( | ) | throw ( ) [inline, virtual] |
Destructor.
void EsysAssertException::assertFailure | ( | const std::string & | assertion, |
const std::string & | date, | ||
const std::string & | file, | ||
int | line, | ||
const std::string & | errDesc | ||
) | [static] |
Builds a formatted message and throws an EsysAssertException.
References EsysAssertException().
const std::string & EsysAssertException::exceptionName | ( | ) | const [virtual] |
Returns the name of the exception.
Reimplemented from esysUtils::EsysException.
References exceptionNameValue.
EsysAssertException& esysUtils::EsysAssertException::operator= | ( | const EsysAssertException & | other | ) | throw ( ) [inline] |
const std::string EsysAssertException::exceptionNameValue [static, private] |
Reimplemented from esysUtils::EsysException.
Referenced by exceptionName().