Kexi API Documentation (2.0 alpha)

KoMacro::Exception Class Reference

#include <exception.h>

List of all members.


Detailed Description

Base Exception class.

All exceptions we like to use within KoMacro need to inheritate from this exception.

Definition at line 34 of file exception.h.

Public Member Functions

 Exception (const QString &errormessage)
 Constructor.
 Exception (const Exception &)
 Copy-constructor.
virtual ~Exception ()
 Destructor.
const QString errorMessage () const
const QString traceMessages () const
void addTraceMessage (const QString &tracemessage)
 Add the message tracemessage to the list of traces.


Constructor & Destructor Documentation

Exception::Exception const QString errormessage  )  [explicit]
 

Constructor.

Parameters:
errormessage A describing errormessage why the exception got thrown.

Definition at line 55 of file exception.cpp.

Exception::Exception const Exception  ) 
 

Copy-constructor.

Definition at line 63 of file exception.cpp.

Exception::~Exception  )  [virtual]
 

Destructor.

Definition at line 70 of file exception.cpp.


Member Function Documentation

void Exception::addTraceMessage const QString tracemessage  ) 
 

Add the message tracemessage to the list of traces.

Definition at line 88 of file exception.cpp.

const QString Exception::errorMessage  )  const
 

Returns:
a describing errormessage.

Definition at line 76 of file exception.cpp.

Referenced by KexiMacroError::KexiMacroError().

const QString Exception::traceMessages  )  const
 

Returns:
a stringlist of traces. This are normaly just simple strings to show the way the exception was gone from bottom-up where the error was thrown till where we finally catched the error to display it to the user.

Definition at line 82 of file exception.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for Kexi 2.0 alpha.
Documentation copyright © 2002-2007 the Kexi Team.
Generated on Tue Apr 1 20:51:02 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003