[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference pamsrc::objectbroker

Title:ObjectBroker - BEA Systems' CORBA
Notice:See note 3 for kits; note 5 for training; note 1134 for releases
Moderator:TLE::PARODId
Created:Tue Jul 11 1989
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1413
Total number of notes:6391

1388.0. "Any plans for try-catch support in OBB?" by STKAI1::T_ANDERSSON (Tomas Andersson) Mon Mar 24 1997 04:47

 Today, error handling in OBB is usually (?) done by sending pairs of ev
 arguments to each method.

 Are there any plans to support the C++ try-catch exception syntax in OBB?
 This would, in my opinion, be a really nice feature, for a lot of reasons.

 - Tomas Andersson -

T.RTitleUserPersonal
Name
DateLines
1388.1LEMAN::DONALDSONFroggisattva! Froggisattva!Mon Mar 24 1997 05:5212
Tomas,

I'd be interested in the answer to your question too. Just
an indication of intent. But in any case...

...although OBB doesn't do it, you can. Just trap the ev error
after each OBB call and then throw the exception. Somewhere
else you can catch it. If you're doing this on the server then
you should at the outer limit of you're program (in the method
or its associate) 'raise' whatever exception is necessary.

John D.
1388.2At least not in the Bryce timeframe, don't know of long-term plansVAXCPU::michaudJeff Michaud - ObjectBrokerMon Mar 24 1997 23:539
	I don't believe there are any plans for it.  The problem I
	recall is that not all our supported platforms support
	exceptions.  And on some of those that do, there was another
	subset of platforms that didn't support a shared library that
	was loaded on the fly to throw exceptions.

	Nina or Peter I believe did the investigation was we were looking
	at supporting C++ exceptions in the IIOP bindings/ORB, and can
	give a better answer as my knowlege is all 2nd hand.