[Top] [Prev] [Next] [Bottom] [Contents]

SaSetMsgErrHandler

Installs a user-defined message handler for ORB messages.

Synopsis

#include "WorkingDialog.h"
void SaSetMsgErrHandler(SaMsgErrHandler handler);

Arguments

handler
a pointer to a user-defined error handler.

Return Values

None.

Description

SaSetMsgErrHandler installs an error handler to be called each time an error comes back from the ORB.

The handler function must be of type SaMsgErrHandler. The handler gets called before the console is displayed. This allows you to choose between handling the error yourself or allowing the console to handle it. The console can be toggled off and on with SaEnableConsole and SaDisableConsole.

Provides a generic way of handling all messages.

Example

See "Error Handling" in Chapter 1.

See Also



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.