EsysAssertException exception class. More...
#include <EsysAssertException.h>
Public Member Functions | |
| ESYSUTILS_DLL_API | EsysAssertException () |
| Default constructor for the exception. | |
| ESYSUTILS_DLL_API | EsysAssertException (const char *cstr) |
| Constructor for the exception. | |
| ESYSUTILS_DLL_API | EsysAssertException (const std::string &str) |
| Constructor for the exception. | |
| ESYSUTILS_DLL_API | EsysAssertException (const EsysAssertException &other) |
| Copy Constructor for the exception. | |
| ESYSUTILS_DLL_API EsysAssertException & | operator= (const EsysAssertException &other) THROW(NO_ARG) |
| virtual ESYSUTILS_DLL_API | ~EsysAssertException () THROW(NO_ARG) |
| Destructor. | |
| virtual ESYSUTILS_DLL_API const std::string & | exceptionName () const |
| Returns the name of the exception. | |
Static Public Member Functions | |
| static ESYSUTILS_DLL_API 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_DLL_API esysUtils::EsysAssertException::EsysAssertException | ( | ) | [inline] |
Default constructor for the exception.
References esysUtils::EsysException::updateMessage().
Referenced by assertFailure().
| ESYSUTILS_DLL_API esysUtils::EsysAssertException::EsysAssertException | ( | const char * | cstr | ) | [inline] |
Constructor for the exception.
References esysUtils::EsysException::updateMessage().
| ESYSUTILS_DLL_API esysUtils::EsysAssertException::EsysAssertException | ( | const std::string & | str | ) | [inline] |
Constructor for the exception.
References esysUtils::EsysException::updateMessage().
| ESYSUTILS_DLL_API esysUtils::EsysAssertException::EsysAssertException | ( | const EsysAssertException & | other | ) | [inline] |
Copy Constructor for the exception.
References esysUtils::EsysException::updateMessage().
| virtual ESYSUTILS_DLL_API esysUtils::EsysAssertException::~EsysAssertException | ( | ) | [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.
| ESYSUTILS_DLL_API EsysAssertException& esysUtils::EsysAssertException::operator= | ( | const EsysAssertException & | other | ) | [inline] |
const std::string EsysAssertException::exceptionNameValue [static, private] |
Reimplemented from esysUtils::EsysException.
Referenced by exceptionName().
1.7.1