Rogue Wave Views 5.6 |
Rogue Wave Views |
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: display
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 2012, 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.