[Enterprise Extensions only]

ExceptionList::add

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


Intended Usage

The add method is used by a client program to populate the ExceptionList associated with a DII request. The add 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 method does not assume ownership of the input TypeCode; the add_consume method does.

IDL Syntax

  void add(CORBA::TypeCode_ptr tc);

Input parameters

tc
A pointer to the TypeCode for the user-defined exception. A system exception is raised if the input pointer is null.

Return values

None.