[Ace-users] [tao-users] CORBA exception handlers

Friedhelm Wolf 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:
    #include "config-linux.h"

THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE :
    include $ACE_ROOT/include/makeinclude/platform-linux.GNU

CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
    (used by MPC when you generate your own makefiles):
    N/A

SYNOPSIS:
Is there a way to hide exception handling from users of CORBA stubs?

DESCRIPTION:
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
handlers
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
possible
to integrate the AMI exception part into the synchronous call mechanism
(maybe
using interceptors) without breaking something?

Thanks in advance,
Friedhelm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/ace-users/attachments/20070627/237136e4/attachment.htm


More information about the Ace-users mailing list