RetsErrorHandler Class Reference

RetsErrorHandler is an error handling interface that can be used by users to set error handling policy. More...

#include <librets/RetsErrorHandler.h>

Inheritance diagram for RetsErrorHandler:

ExceptionErrorHandler NullErrorHandler

List of all members.

Public Member Functions

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


Detailed Description

RetsErrorHandler is an error handling interface that can be used by users to set error handling policy.

Constructor & Destructor Documentation

virtual ~RetsErrorHandler (  )  [virtual]


Member Function Documentation

virtual void HandleUnknownMetadata ( std::string  name  )  const [pure 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.

Implemented in ExceptionErrorHandler, and NullErrorHandler.


Generated by  doxygen