P6R::p6IJSONErrorHandler Interface Reference

This JSON interface is implemented by an application using P6R's JSON parser. More...

#include <p6jsonerrorhandler.h>

Inherits P6R::p6ICom.

List of all members.

Public Member Functions

virtual P6R::P6INT32 addref ()=0
 This method increases the reference count of the component instance by one.
virtual P6R::P6ERR error (P6ERR errorCode, p6IJSONLocator *pObject)=0
 The JSON parser notifies the application that a recoverable parsing error has been detected.
virtual P6R::P6ERR errorEx (P6ERR errorCode, p6IJSONLocator *pObject, const P6CHAR *pDisplay)=0
 The JSON parser notifies the application that a recoverable parsing error has been detected.
virtual P6R::P6ERR fatalError (P6ERR errorCode, p6IJSONLocator *pObject)=0
 The JSON parser notifies the application that a non-recoverable parsing error has been detected.
virtual P6R::P6ERR fatalErrorEx (P6ERR errorCode, p6IJSONLocator *pObject, const P6CHAR *pDisplay)=0
 The JSON parser notifies the application that a non-recoverable parsing error has been detected.
virtual P6R::P6ERR queryInterface (const P6R::IID &iid, P6R::P6VOID **ppIface)=0
 This method queries the component for a specific interface.
virtual P6R::P6INT32 release ()=0
 This method decrements a components reference count.
virtual P6R::P6ERR warning (P6ERR errorCode, p6IJSONLocator *pObject)=0
 The JSON parser notifies the application of an unusual condition detected during parsing.
virtual P6R::P6ERR warningEx (P6ERR errorCode, p6IJSONLocator *pObject, const P6CHAR *pDisplay)=0
 The JSON parser notifies the application of an unusual condition detected during parsing.

Detailed Description

This JSON interface is implemented by an application using P6R's JSON parser.

This is a callback object that is registered with the P6R::p6IJSONReader::setErrorHandler() method. Once registered the JSON parser will call one of the 3 methods of this object to notify the application of a parsing error.

Definition at line 31 of file p6jsonerrorhandler.h.


The documentation for this interface was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.