Rogue Wave Views Foundation Package API Reference Guide |
Rogue Wave Views Documentation Home |
Error handling class. More...
#include <ilviews/base/error.h>
Public Member Functions | |
virtual void | fatal (const char *message) const |
Issues an error message. More... | |
virtual void | message (const char *message) const |
Issues a message. More... | |
virtual void | warning (const char *message) const |
Issues a warning message. More... | |
Error handling class.
Library: xviews or winviews or mviews (mutually exclusive)
Rogue Wave Views provides an error message mechanism based on the IlvError
class. A default IlvError
instance is automatically created for every application. This class implements warning
and fatal
by simply printing out the message parameter. You can derive this class and replace the default error handler by your subclass.
Two global functions get and set the current error handler: IlvGetErrorHandler
and IlvSetErrorHandler
.
To make Rogue Wave Views actually call the error handler, each error message should be sent through one of these global functions: IlvWarning
and IlvFatalError
.
IlvGetErrorHandler
, IlvSetErrorHandler
, IlvFatalError
, IlvWarning
.
|
virtual |
Issues an error message.
To be called when an error that aborts an action occurs. This virtual function expects a message to be printed out.
|
virtual |
Issues a message.
To be called when a message is to be printed. This virtual function expects a message to be printed out.
|
virtual |
Issues a warning message.
Is called when an error that does not cause a critical stop occurs. This virtual function expects a message to be printed out.
© Copyright 2017, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.