ExceptionList::add_consume

Overview Adds a single user-defined exception to an exception list.
Original class CORBA::ExceptionList
Exceptions CORBA::SystemException


Intended Usage

The add_consume method is used by a client program to populate the ExceptionList associated with a DII request. The add_consume method adds a single user-defined exception to an exception list. The add and add_consume methods perform the same task but differ in memory management. The add_consume method assumes ownership of the input TypeCode; the add method does not. The caller must not access the object referred to by the input parameter after it has been passed in.

Syntax

  void add_consume(CORBA::TypeCode_ptr tc);

Input parameters

tc
A pointer to the TypeCode for the user-defined exception. The input TypeCode must either be retrieved from the Interface Repository or allocated using the ORB::create_exception_tc method. Ownership of this parameter transfers to the ExceptionList. A system exception is raised if the input pointer to the TypeCode is null.

Return values

None.


Related reference
CORBA module



Searchable topic ID:   rcor_model4
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/corba/ref/rcor_model4.html

Library | Support | Terms of Use | Feedback