|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |
class CErrorHandler { public: CErrorHandler(); virtual ~CErrorHandler(); public: virtual bool Report( int nLineNumber, const CString &strMessage) = 0; };
The abstract error handler interface for SOM IDL parsers.
If an application needs to implement customized error
handling, it must implement this interface and then register an
instance with the IDL parser using
CParser::SetErrorHandler
.
The parser will then report all errors and warnings
through this interface.
Constructor/Destructor Summary | |
CErrorHandler
();
����������Constructs the error handler. |
|
~CErrorHandler
();
����������Destroys the error handler. |
Function Summary | |
bool
|
Report
(int nLineNumber, const CString &strMessage);
����������Reports an error. |
Constructor/Destructor Detail |
CErrorHandler();
Constructs the error handler.
virtual ~CErrorHandler();
Destroys the error handler.
Function Detail |
virtual bool Report( int nLineNumber, const CString &strMessage) = 0;
Reports an error.
nLineNumber
- the line number in the source IDL
file indicating the approximate location of an error sourcestrMessage
- the error messagetrue
if the application requests
termination of IDL parsing;
false
otherwise
|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |