escript  Revision_
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

 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.
EsysAssertExceptionoperator= (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

Detailed Description

EsysAssertException exception class.

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


Member Typedef Documentation

Reimplemented from esysUtils::EsysException.


Constructor & Destructor Documentation

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().

Copy Constructor for the exception.

References esysUtils::EsysException::updateMessage().

virtual esysUtils::EsysAssertException::~EsysAssertException ( ) throw ( ) [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.

EsysAssertException& esysUtils::EsysAssertException::operator= ( const EsysAssertException other) throw ( ) [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: