#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 |
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] |
esysUtils::EsysAssertException::EsysAssertException | ( | const std::string & | str | ) | [inline] |
esysUtils::EsysAssertException::EsysAssertException | ( | const EsysAssertException & | other | ) | [inline] |
virtual esysUtils::EsysAssertException::~EsysAssertException | ( | ) | throw ( ) [inline, virtual] |
Destructor.
EsysAssertException& esysUtils::EsysAssertException::operator= | ( | const EsysAssertException & | other | ) | throw ( ) [inline] |
const std::string & EsysAssertException::exceptionName | ( | ) | const [virtual] |
Returns the name of the exception.
Reimplemented from esysUtils::EsysException.
References exceptionNameValue.
void EsysAssertException::assertFailure | ( | const std::string & | assertion, | |
const std::string & | date, | |||
const std::string & | file, | |||
int | line, | |||
const std::string & | errDesc | |||
) | [static] |
const std::string EsysAssertException::exceptionNameValue [static, private] |