KoMacro::Exception Class Reference
#include <exception.h>
Public Member Functions | |
| Exception (const TQString &errormessage) | |
| Exception (const Exception &) | |
| virtual | ~Exception () |
| const TQString | errorMessage () const |
| const TQString | traceMessages () const |
| void | addTraceMessage (const TQString &tracemessage) |
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.
Constructor & Destructor Documentation
◆ Exception() [1/2]
|
explicit |
Constructor.
- Parameters
-
errormessage A describing errormessage why the exception got thrown.
Definition at line 55 of file exception.cpp.
◆ Exception() [2/2]
| Exception::Exception | ( | const Exception & | e | ) |
Copy-constructor.
Definition at line 63 of file exception.cpp.
◆ ~Exception()
|
virtual |
Destructor.
Definition at line 70 of file exception.cpp.
Member Function Documentation
◆ addTraceMessage()
| void Exception::addTraceMessage | ( | const TQString & | tracemessage | ) |
Add the message tracemessage to the list of traces.
Definition at line 88 of file exception.cpp.
◆ errorMessage()
| const TQString Exception::errorMessage | ( | ) | const |
- Returns
- a describing errormessage.
Definition at line 76 of file exception.cpp.
◆ traceMessages()
| const TQString 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:
