Throwing CORBA exceptions from an IDL-defined interface?
August 23, 2006 5:52 PM
Subscribe
Any CORBA experts here? I have an IDL/exceptions question.
My code is implementing an interface that is defined in IDL. I have two implementations, one in C++ and one in Java, and I want to throw a "CORBA" exception, such as InvalidName, back to a caller. In Java, that exception is known as org.omg.CORBA.ORBPackage.InvalidName. In C++, it goes by CORBA::ORB::InvalidName.
Is there a way in IDL to define an interface capable of throwing this exception, or am I forced to only throw exceptions that I personally define in IDL?
posted by knave to computers & internet (7 comments total)
I hate CORBA.
posted by devilsbrigade at 6:01 PM on August 23, 2006