ErrorTarget Class Reference

ErrorTarget defines an interface for receiving Fennel row errors. More...

#include <ErrorTarget.h>

Inheritance diagram for ErrorTarget:

JavaErrorTarget List of all members.

Public Member Functions

virtual ~ErrorTarget ()
virtual void notifyError (const std::string &source, ErrorLevel level, const std::string &message, void *address, long capacity, int index)=0
 Receives notification when a row exception occurs.

Detailed Description

ErrorTarget defines an interface for receiving Fennel row errors.

Typically, many or all ErrorSouce instances post errors to the same ErrorTarget.

Definition at line 46 of file ErrorTarget.h.


Constructor & Destructor Documentation

ErrorTarget::~ErrorTarget (  )  [virtual]

Definition at line 29 of file ErrorTarget.cpp.

00030 {
00031 }


Member Function Documentation

virtual void ErrorTarget::notifyError ( const std::string &  source,
ErrorLevel  level,
const std::string &  message,
void *  address,
long  capacity,
int  index 
) [pure virtual]

Receives notification when a row exception occurs.

Parameters:
source the unique Fennel stream name
level the severity of the exception
message a description of the exception
address pointer to the buffer containing the error record
capacity the size of the error buffer
index position of the column whose processing caused the exception to occur. -1 indicates that no column was culpable. 0 indicates that a filter condition was being processed. Otherwise this parameter should be a 1-indexed column position.

Implemented in JavaErrorTarget.

Referenced by ErrorSource::postError().


The documentation for this class was generated from the following files:
Generated on Mon Jun 22 04:00:30 2009 for Fennel by  doxygen 1.5.1