Public Member Functions | Static Public Member Functions | Protected Types | Static Private Attributes

esysUtils::EsysAssertException Class Reference

EsysAssertException exception class. More...

#include <EsysAssertException.h>

Inheritance diagram for esysUtils::EsysAssertException:
esysUtils::EsysException

List of all members.

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

Detailed Description

EsysAssertException exception class.

Description: EsysAssertException exception class. The class provides a public function returning the exception name.


Member Typedef Documentation


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Member Data Documentation

const std::string EsysAssertException::exceptionNameValue [static, private]

Reimplemented from esysUtils::EsysException.

Referenced by exceptionName().


The documentation for this class was generated from the following files: