kexi
KoMacro::Exception Class Reference
#include <exception.h>
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 & | ) |
Exception::~Exception | ( | ) | [virtual] |
Member Function Documentation
const QString Exception::errorMessage | ( | ) | const |
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 | ) |
The documentation for this class was generated from the following files: