CKlearAppException Class Reference

The exception baseclass for Klear. More...

#include <CKlearAppException.h>

Inheritance diagram for CKlearAppException:

Inheritance graph

Public Member Functions

 CKlearAppException ()
 Constructor.
 CKlearAppException (QString loc, QString msg)
 overloaded Constructor
virtual ~CKlearAppException ()
 Destructor.
virtual void addErrorMessage (QString loc, QString msg)
 Adds a complete error and location message to the message stack.
virtual void showExceptions ()
 show the complete messagestack with its own GUI (independet from environment)
virtual void addShowException (QString loc, QString msg)
 adds a new message to the message stack and shows all
virtual std::vector< ErrorData * > getExceptionStack ()
 Returns the complete exceptionstack within the vecotr. This method is mainly for debugging purposes.

Protected Attributes

std::vector< ErrorData * > ErrorStack
 vector with ErrorData elements for exception-messagestack

Detailed Description

The exception baseclass for Klear.

Author:
Klear.org


Constructor & Destructor Documentation

CKlearAppException::CKlearAppException  ) 
 

Constructor.

Author:
Marco Kraus <marco@klear.org>

CKlearAppException::CKlearAppException QString  loc,
QString  msg
 

overloaded Constructor

Author:
Marco Kraus <marco@klear.org>
Parameters:
loc location message
msg error message

CKlearAppException::~CKlearAppException  )  [virtual]
 

Destructor.

Author:
Marco Kraus <marco@klear.org>


Member Function Documentation

void CKlearAppException::addErrorMessage QString  loc,
QString  msg
[virtual]
 

Adds a complete error and location message to the message stack.

Author:
Marco Kraus <marco@klear.org>
Return values:
void no retval

void CKlearAppException::addShowException QString  loc,
QString  msg
[virtual]
 

adds a new message to the message stack and shows all

Author:
Marco Kraus <marco@klear.org>
Return values:
void no retval

std::vector< ErrorData * > CKlearAppException::getExceptionStack  )  [virtual]
 

Returns the complete exceptionstack within the vecotr. This method is mainly for debugging purposes.

Author:
Marco Kraus <marco@klear.org>
Return values:
std::vector<ErrorData *> The complete Errorstack

void CKlearAppException::showExceptions  )  [virtual]
 

show the complete messagestack with its own GUI (independet from environment)

Author:
Marco Kraus <marco@klear.org>
Return values:
void no retval

Reimplemented in CKlearAppErrorException, CKlearAppFatalException, CKlearAppFileException, CKlearAppInputException, and CKlearAppMemoryException.


Field Documentation

std::vector< ErrorData * > CKlearAppException::ErrorStack [protected]
 

vector with ErrorData elements for exception-messagestack

Author:
Marco Kraus <marco@klear.org>


The documentation for this class was generated from the following file:
Generated on Sun Nov 20 17:46:43 2005 for klear.kdevelop by  doxygen 1.4.5