Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Error Class. More...
#include <ilviews/dataccess/error.h>
Public Member Functions | |
IliErrorSink (const IliErrorSink &) | |
This constructor copies an error sink. | |
IliErrorSink () | |
This constructor initializes an error sink. | |
virtual void | addError (const IliErrorMessage &msg) |
Called when an error message is caught by the error sink. | |
IliErrorSink & | operator= (const IliErrorSink &sink) |
Assigns an error sink. |
Error Class.
Library: dataccess
The IliErrorSink
class defines objects that serve as recipients for error messages that are thrown by different classes. For example, to catch all errors that are generated while acting on an IliTable
object, it is possible to add an error sink to the IliTable
object. This class is designed to be subclassed. Then in the subclass the addError
virtual member function should be overloaded.
virtual void IliErrorSink::addError | ( | const IliErrorMessage & | msg | ) | [virtual] |
Called when an error message is caught by the error sink.
msg | The error message. |
Reimplemented in IliErrorList.
IliErrorSink& IliErrorSink::operator= | ( | const IliErrorSink & | sink | ) |
Assigns an error sink.
sink | The second error sink. |
© 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.