TIBCO Adapter SDK C++ Reference
MException::MException
MException
Creates an instance of this exception. This form creates an exception without any prespecified information.
Remarks
A typical construction would look like this:

    throw MException( errorCode, 
            MMessageBundle::getRole( errorCode ), 
            MMessageBundle::getCategory( errorCode ), 
            MMessageBundle::getMessage( errorCode ), 
               __FILE__, __LINE__ ); 

You can take advantage of several macros to collapse this into a single line of code. Utility macros for throwing framework exceptions are defined in the MExceptions.h header file.

    M_THROW_EXCEPTION( "AESDKC-0017" ); 

The MMessageBundle object should have been already filled with the relevant information.

Declaration
MException();
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.