Luo Yongheng
2008-03-14 18:17:15 UTC
Nobody ever talks about exception handling in servants. Here is a question:
If I define my own exception classes, say, derived from standard C++ exceptions, and raise them in my servants, how can I catch them in the main thread? It seems impossible, since we can not control the exception handling in the worker thread that runs into my servants.
Anybody has any idea?
Thierry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20080314/93dd1550/attachment.htm
If I define my own exception classes, say, derived from standard C++ exceptions, and raise them in my servants, how can I catch them in the main thread? It seems impossible, since we can not control the exception handling in the worker thread that runs into my servants.
Anybody has any idea?
Thierry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20080314/93dd1550/attachment.htm