Thomas Pedot
2013-08-05 11:21:52 UTC
Hi,
I use omniorb 4.1.6 on Windows (32bit) in a debug version. I have some
exception like (Visual Studio Output) :
First-chance exception at 0x759cc41f in CORBA-Serveur.exe: Microsoft C++
exception: omni::giopStream::CommFailure at memory location 0x032af7a0..
My application works to a certain point then an exception of type
CORBA::COMM_FAILURE or CORBA::TRANSIENT is thrown on the client side.
This error seems to happened when my computer is confronted to some lags.
Can anybody help me to understand what does it means ? How can I correct
this playing with parameters, changing some codes,... ?
I use the try-catch statement in the tutorial :
catch(CORBA::COMM_FAILURE& ex) {\
cout << "Caught system exception COMM_FAILURE -- unable to contact the "\
<< "object." << endl;\
}\
catch(CORBA::TRANSIENT&) {\
cout << "Caught system exception TRANSIENT -- unable to contact the "\
<< "server." << endl;\
}\
catch(CORBA::SystemException& ex) {\
cout << "Caught a CORBA::" << ex._name() << endl;\
}\
catch(CORBA::Exception& ex) {\
cout << "Caught CORBA::Exception: " << ex._name() << endl;\
}\
catch(omniORB::fatalException& fe) {\
cout << "Caught omniORB::fatalException:" << endl;\
cout << " file: " << fe.file() << endl;\
cout << " line: " << fe.line() << endl;\
cout << " mesg: " << fe.errmsg() << endl;\
}\
catch(...) {\
cerr << "Caught unknown exception." << endl;\
}
Thanks for maintining this project !
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20130805/139f4165/attachment.html>
I use omniorb 4.1.6 on Windows (32bit) in a debug version. I have some
exception like (Visual Studio Output) :
First-chance exception at 0x759cc41f in CORBA-Serveur.exe: Microsoft C++
exception: omni::giopStream::CommFailure at memory location 0x032af7a0..
My application works to a certain point then an exception of type
CORBA::COMM_FAILURE or CORBA::TRANSIENT is thrown on the client side.
This error seems to happened when my computer is confronted to some lags.
Can anybody help me to understand what does it means ? How can I correct
this playing with parameters, changing some codes,... ?
I use the try-catch statement in the tutorial :
catch(CORBA::COMM_FAILURE& ex) {\
cout << "Caught system exception COMM_FAILURE -- unable to contact the "\
<< "object." << endl;\
}\
catch(CORBA::TRANSIENT&) {\
cout << "Caught system exception TRANSIENT -- unable to contact the "\
<< "server." << endl;\
}\
catch(CORBA::SystemException& ex) {\
cout << "Caught a CORBA::" << ex._name() << endl;\
}\
catch(CORBA::Exception& ex) {\
cout << "Caught CORBA::Exception: " << ex._name() << endl;\
}\
catch(omniORB::fatalException& fe) {\
cout << "Caught omniORB::fatalException:" << endl;\
cout << " file: " << fe.file() << endl;\
cout << " line: " << fe.line() << endl;\
cout << " mesg: " << fe.errmsg() << endl;\
}\
catch(...) {\
cerr << "Caught unknown exception." << endl;\
}
Thanks for maintining this project !
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20130805/139f4165/attachment.html>