#include <FBwError.h>
Public Methods | |
| BasicFBwErrorMgr () | |
| Error handler Constructor. | |
| void | Assign (const ISC_STATUS *errvec) |
| Asigns de status vector errvec to the error manager. | |
| void | Reset () |
| moves the message pointer to the first message | |
| const char * | Message () |
| Gets the current error message. | |
| bool | NextMessage () |
| Moves to the next message. | |
| virtual void | ShowMessage () |
| Shows current message text. | |
| virtual void | ShowMessage (const FBwDb *db) |
| virtual void | ShowMessage (const FBwService *svc) |
| virtual | ~BasicFBwErrorMgr () |
This class provides a helper for extracting error messages from firebird status vector, and provides a method for showing them. This class is intended to be subclassed for diferent enviromnments where you can show the message in a window for example. By default the message is dumped to cout.
|
|
Gets the current error message. method for geting de current error stack message |
|
|
Moves to the next message. Gets de next error message in de stack |
|
|
Shows current message text. the status vector must be previously assigned via FBwBasicErrorMgr::Assign() |
1.2.17