[omniORB] exceptions as parameters
Renzo Tomaselli
renzo.tomaselli@tecnotp.it
Thu Nov 7 16:51:01 2002
Hi all,
I just noticed that omniidl 1.0 does not accept a "CORBA::Exception" as
a parameter type within an IDL method declaration.
I need to forward an exception within a delegation process, where a
scheduler processes jobs and then it reports success or failure to another
party. Failure here means some kind of exception.
>From CORBA IDL grammar (2.2) this issue remains unclear to me: a parameter
type could be an <identifier>, but I miss the point stating that it cannot
be an exception.
Anyway, am I missing any trick or definitely we cannot transport exceptions
as data values ? Or is it an omniidl missing feature ?
The only other way I know about concerns feeding exceptions into anys which
we can carry around. If nothing else works, this will.
Thanks,
Renzo Tomaselli