[Ace-users] [tao-users] CORBA exception handlers
friedhelm.wolf at googlemail.com
Wed Jun 27 06:41:35 CDT 2007
CIAO VERSION: 0.5.8
TAO VERSION : 1.5.8
ACE VERSION : 5.5.8
HOST MACHINE and OPERATING SYSTEM:
i686 pc, SUSE linux Enterprise Server 9, Kernel 2.6.5
COMPILER NAME AND VERSION (AND PATCHLEVEL):
gcc 3.3.3 (SuSE Linux)
THE $ACE_ROOT/ace/config.h FILE:
THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE :
CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
(used by MPC when you generate your own makefiles):
Is there a way to hide exception handling from users of CORBA stubs?
In recent discussions the following question came up:
Is there a way in CORBA to use exception handlers,
meaning some hooks for handling CORBA system (or even user) exceptions.
This would allow to avoid try - catch blocks in CORBA client code
and handle exceptions transparently for the CORBA client programmer.
Being able to do this would be of big advantage for implementing
frameworks based on CORBA, which then could have some standard way of
(client unaware) error handling and recovery.
I know that this is possible using AMI, which must provide exception
to decouple calls from replies. However I never heard of some part of the
CORBA specification which allows exception handlers for synchronous calls.
Is there any way in TAO to hook into exception handling, or would it be
to integrate the AMI exception part into the synchronous call mechanism
using interceptors) without breaking something?
Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ace-users