|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
�PREV CLASS�� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: �CONSTR�|� FUNCTION �|�DATA | DETAIL: �CONSTR�|� FUNCTION �|�DATA |
class IErrorHandler: public CInterface { public: virtual ~IErrorHandler(); public: virtual void Error(CParseException *e) = 0; virtual void FatalError(CParseException *e) = 0; virtual void Warning(CParseException *e) = 0; };
The abstract interface to SXP error handlers.
If an SXP application needs to implement customized error handling,
it must implement this interface and then register an instance
with the SXP parser using the
IParser::SetErrorHandler
method. The parser will then report all errors and warnings through
this interface.
CParseException
Constructor/Destructor Summary | |
~IErrorHandler
();
����������Destroys the error handler. |
Function Summary | |
void
|
Error
(CParseException *e);
����������Receives notification of a recoverable error. |
void
|
FatalError
(CParseException *e);
����������Receives notification of a non-recoverable error. |
void
|
Warning
(CParseException *e);
����������Receives notification of a warning. |
Constructor/Destructor Detail |
virtual ~IErrorHandler();
Destroys the error handler.
Function Detail |
virtual void Error(CParseException *e) = 0;
Receives notification of a recoverable error.
e
- the parse exception
containing the error informationvirtual void FatalError(CParseException *e) = 0;
Receives notification of a non-recoverable error.
e
- the parse exception
containing the error informationvirtual void Warning(CParseException *e) = 0;
Receives notification of a warning.
e
- the parse exception
containing the warning information
|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
�PREV CLASS�� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: �CONSTR�|� FUNCTION �|�DATA | DETAIL: �CONSTR�|� FUNCTION �|�DATA |