kexi

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)
 Exception (const Exception &)
virtual ~Exception ()
const QString errorMessage () const
const QString traceMessages () const
void addTraceMessage (const QString &tracemessage)

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

const QString Exception::errorMessage (  )  const

Returns:
a describing errormessage.

Definition at line 76 of file exception.cpp.

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.

void Exception::addTraceMessage ( const QString &  tracemessage  ) 

Add the message tracemessage to the list of traces.

Definition at line 88 of file exception.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys