Overview | Creates a CORBA::ExceptionList object. |
Original class | CORBA::ORB |
Exceptions | CORBA::SystemException |
Intended Usage
The CORBA::ORB::create_exception_list method is used by client applications using the Dynamic Invocation Interface (DII), to create a CORBA::ExceptionList object to be subsequently passed to the CORBA::Object::create_request method.
Syntax
CORBA::Status create_exception_list (CORBA::ExceptionList_ptr & excp_list);
Input parameters
Return values
Example
#include "corba.h" #include int main(int argc, char* argv[]) { int rc = 0; CORBA::ExceptionList_ptr ELptr = CORBA::ExceptionList::_nil(); /* assume orb initialized */ extern CORBA::ORB_ptr orb; try { CORBA::Status st = orb->create_exception_list(ELptr); } catch(CORBA::SystemException &se) { cout << "exception: " << se.id() << endl; rc="1;" } return rc; }