Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

fbwrap::BasicFBwErrorMgr Class Reference

Class for handling error status and messages. More...

#include <FBwError.h>

List of all members.

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 ()


Detailed Description

Class for handling error status and messages.

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.


Member Function Documentation

const char * fbwrap::BasicFBwErrorMgr::Message  
 

Gets the current error message.

method for geting de current error stack message

bool fbwrap::BasicFBwErrorMgr::NextMessage  
 

Moves to the next message.

Gets de next error message in de stack

void fbwrap::BasicFBwErrorMgr::ShowMessage   [virtual]
 

Shows current message text.

the status vector must be previously assigned via FBwBasicErrorMgr::Assign()


The documentation for this class was generated from the following files:
Generated on Fri Jan 31 08:30:03 2003 for fbwrap by doxygen1.2.17