Unicorn XML Toolkit
Version 1.00.00

Namespace Xslt
Class CErrorHandler

class CErrorHandler: public CInterface {
public:
    enum {
        informational,
        warning,
        error,
        fatal
        };
public:
    CErrorHandler();
    virtual ~CErrorHandler();
public:
    virtual void Signal(
        int nType, 
        CXsltException *pXsltException,
        const XLocationHandler &pLocationHandler) = 0;
    };

The abstract interface for handling XSLT processor errors.

At least one derived class must be supplied to provide implementation of this interface. The default implementation is provided via the CBasicErrorHandler class.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
CXsltException, CLocationHandler
Constructor/Destructor Summary
CErrorHandler ();
����������Constructs the error handler.
~CErrorHandler ();
����������Destroys the error handler.

Function Summary
void Signal (int nType, CXsltException *pXsltException, const XLocationHandler &pLocationHandler);
����������Signals an error.

Constructor/Destructor Detail

CErrorHandler

CErrorHandler();

Constructs the error handler.

~CErrorHandler

virtual ~CErrorHandler();

Destroys the error handler.

Function Detail

Signal

virtual void Signal(
    int nType, 
    CXsltException *pXsltException,
    const XLocationHandler &pLocationHandler) = 0;

Signals an error.

Parameters:
pXsltException - the XSLT exception containing the error description
pLocationHandler - the location handler providing location of stylesheet/document nodes related to the error

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

Copyright 1999-2001 Unicorn Enterprises SA.
All Rights Reserved.