TIBCO Adapter SDK C++ Reference
MMessageBundle::getRole
MMessageBundle
Return the role associated with this errorCode.
Remarks
This method returns the role information that was set when the exception was constructed. The most likely return types are listed below, but custom-defined roles can also be used. For exceptions thrown by the SDK, the role is limited to one of the following set.

Can be one of the predefined roles ( "infoRole", "errorRole", "debugRole", warningRole"), or a user-defined string.

Parameters
Parameters Description
MString const & errorCode Use this argument to look up the information.
Declaration
static MString getRole(MString const & errorCode);
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.