OnixS CME Drop Copy Handler C++ library  5.6.0
API documentation

Warnings Concept

Miscellaneous non-critical issues may occur while Handler is being executed. Handler will handle such issues by itself, thus no special handling is required for such cases. However, sometimes it's reasonable to be notified about such events. For this reason, handler exposes OnixS::CME::DropCopy::WarningListener class and will invoke its OnixS::CME::DropCopy::WarningListener::onWarning member each time a non-critical issue will take place.

An instance of OnixS::CME::DropCopy::Warning class is delivered through a noted callback. This instance exposes source (OnixS::CME::DropCopy::Warning::source), code (OnixS::CME::DropCopy::Warning::code) and human-readable description ( OnixS::CME::DropCopy::Warning::description) of an issue. In most cases \ b description is the most meanfull information about an issue. Code provides ability to differ some known issues. Finally, same issues may have different meaning, therefore source member is available.