Unicorn XML Toolkit
Version 1.00.00

Namespace Xslt
Class CBasicErrorHandler

class CBasicErrorHandler: public CErrorHandler {
public:
    CBasicErrorHandler(IUnicodeStream *pStream);
    ~CBasicErrorHandler();
public:
    void Signal(
        int nType,
        CXsltException *pXsltException,
        const XLocationHandler &pLocationHandler);
    };

The default implementation of the error handler.

See CErrorHandler for general discussion of error handlers.

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

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

Constructor/Destructor Detail

CBasicErrorHandler

CBasicErrorHandler(IUnicodeStream *pStream);

Constructs the basic error handler.

Parameters:
pStream - the Unicode stream to output error messages

~CBasicErrorHandler

~CBasicErrorHandler();

Destroys the basic error handler.

Function Detail

Signal

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

Signals an error.

Parameters:
pXsltException - the XSLT exception containing the error description
pLocationHandler - the location handler used to obtain 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.