<br>I have the following code: A Client sends a request to a server (Method_1); then, this server, workins as a client, makes a request to another Server. <br><br>Why the application, in debug mode, doesn't reach the catch statments If, while waiting method_2 to return, TCP communications fail?
<br> <br><br>CORBA::Boolean CDT_CS_Request_i::Method_1()<br>{<br> try <br> {<br> CCS_DT_Request cesionRequestObj(); <br> aceptado = cesionRequestObj.Method_2();<br> }<br> catch(CORBA::COMM_FAILURE& ex)
<br> {<br> cerr << "Caught CORBA::COMM" << endl;<br> return false;<br> }<br> catch(CORBA::SystemException&)<br> {<br> cerr << "Caught CORBA::SystemException." << endl;
<br> return false;<br> }<br> catch(CORBA::Exception&) {<br> cerr << "Caught CORBA::Exception." << endl;<br> return false;<br> }<br> catch(omniORB::fatalException& fe) {<br>
cerr << "Caught omniORB::fatalException:" << endl;<br> return false;<br> }<br> catch (...)<br> {<br> }<br><br>Thanks<br>