[Enterprise Extensions only]

Request::exceptions

Overview Retrieves the list of user-defined exceptions that can be thrown by a DII request.
Original class CORBA::Request


Intended Usage

The exceptions method is used by a client application to access the list of user-defined exceptions that can be thrown by a Dynamic Invocation Interface (DII) request, as optionally input to CORBA::Object::_create_request. The exception list is specified using a CORBA::ExceptionList object and is used to improve performance. When invoking a request without an associated ExceptionList object, the ORB looks up user-defined exception information in the Interface Repository. For additional information, see the ExceptionList class description.

IDL Syntax

  CORBA::ExceptionList_ptr exceptions();

Input parameters

None.

Return values

CORBA::ExceptionList_ptr
A pointer to the list of user-defined exceptions that can be thrown by the DII request, as input to CORBA::Object::_create_request, or a null pointer. Ownership of the return result is maintained by the Request object; the return value must not be freed by the caller.