[PolyORB-users] Server side Ada exceptions (CORBA::UNKNOWN)

Jerome Hugues hugues at infres.enst.fr
Thu Dec 15 19:31:33 CET 2005


Vadim Godunko (vgodunko at rost.ru):

> Hello,
> 
> If until request execution on server side will be raised Ada exception
> (which don't have CORBA equivalent) and request return CORBA::UNKNOWN
> exception.
> 
> Sometimes this is very not informative...

You mean if there is an exception when executing the request, not
inside PolyROB, right ?

I understand this is not informative ;)

> I just have an idea. Java to IDL mapping define special service context
> for reporting detailed information about raised Java exception. Why not
> define such service context for Ada, or reuse service context defined
> for Java?
> 
> In Ada case it may contain string with Exception_Information and stack
> backtrace.
> 
> What are you think?

This seems interesting, but requires some machinery and
vendor-specific API. I'm not opposed to it, but cannot tell I can
implement it for now ;)

-- 
Jerome


More information about the PolyORB-users mailing list