Rogue Wave Server/Rogue Wave Views Integration > Server/Views Mapping > Error Handling
 
Error Handling
The Server/Views mapping redirect all Rogue Wave Server messages to the static member function IlsSwComponent::HandleMessage via the member function IlsLogfile::setRedirect. Those messages can be issued by the server through the virtual member function IlsMvComponent::recvMessage or from the Server/Views mapping in case of error or warning.
The function HandleMessage opens a dialog box if the message level is WARNING or ERROR. You can control this behavior by means of the API of the IlsSwComponent class.
All messages are also redirected to the Connection Panel log window if a Connection Panel is installed with a log window in your application. You can redirect the messages to one of your functions using the API of the IlsLogFile class.
If an error or warning occurs at Rogue Wave Views level, it is handled by the Rogue Wave Views library.

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.