Unicorn XML Toolkit
Version 1.00.00

Namespace FoHtml
Class IErrorHandler

class IErrorHandler {
public:
    IErrorHandler();
    virtual ~IErrorHandler();
public:
    virtual void Warning(IException *e) = 0;
    virtual void Error(IException *e) = 0;
    };

The abstract error handler interface for the HTML-based UFO front-end.

If an application needs to implement customized error handling, it must implement this interface and then register an instance with the UFO front-end using the IFormatter::SetErrorHandler function. The front-end will then report all errors and warnings through this interface.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
Constructor/Destructor Summary
IErrorHandler ();
����������Constructs the error handler.
~IErrorHandler ();
����������Destroys the error handler.

Function Summary
void Warning (IException *e);
����������Receives notification of a warning.
void Error (IException *e);
����������Receives notification of an error.

Constructor/Destructor Detail

IErrorHandler

IErrorHandler();

Constructs the error handler.

~IErrorHandler

virtual ~IErrorHandler();

Destroys the error handler.

Function Detail

Warning

virtual void Warning(IException *e) = 0;

Receives notification of a warning.

Parameters:
e - the exception containing the warning information

Error

virtual void Error(IException *e) = 0;

Receives notification of an error.

Parameters:
e - the exception containing the error information

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

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