NullErrorHandler Class Reference

An implementation of RetsErrorHandler that just silently ignores all errors. More...

#include <librets/RetsErrorHandler.h>

Inheritance diagram for NullErrorHandler:

RetsErrorHandler

List of all members.

Public Member Functions

void HandleUnknownMetadata (std::string name) const
 This gets called during metadata XML parsing if metadata is received using an unknown metadata name.

Static Public Member Functions

static NullErrorHandlerGetInstance ()


Detailed Description

An implementation of RetsErrorHandler that just silently ignores all errors.

Member Function Documentation

static NullErrorHandler* GetInstance (  )  [static]

void HandleUnknownMetadata ( std::string  name  )  const [virtual]

This gets called during metadata XML parsing if metadata is received using an unknown metadata name.

If the user would like to halt parsing, it should throw a subclass of RetsException.

Parameters:
name Name of the unknown metadata
Exceptions:
RetsException if this condition should halt metadata parsing.

Implements RetsErrorHandler.


Generated by  doxygen