#include <ErrorTarget.h>
Inheritance diagram for ErrorTarget:
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. |
Typically, many or all ErrorSouce instances post errors to the same ErrorTarget.
Definition at line 46 of file ErrorTarget.h.
ErrorTarget::~ErrorTarget | ( | ) | [virtual] |
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.
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().