[Enterprise Extensions only]

ExceptionList::item

Overview Retrieves the user-defined exception associated with an input index.
Original class CORBA::ExceptionList
Exceptions CORBA::SystemException


Intended Usage

The item method is used by a client program when querying the ExceptionList associated with a DII request. The item method returns the user-defined exception associated with an input index.

IDL Syntax

  CORBA::TypeCode_ptr item(CORBA::ULong index)

Input parameters

index
The index of the desired user-defined exception, starting at zero. A system exception is raised if the input index is greater than or equal to the number of elements in the exception list.

Return values

CORBA::TypeCode_ptr
A pointer to the TypeCode for the user-defined exception. Ownership of the return value is maintained by the ExceptionList; the return value must not be freed by the caller.