[omniORB] omniORB3: inserting a User Exception into an Any
Duncan Grisby
dgrisby@uk.research.att.com
Mon, 10 Jul 2000 10:27:46 +0100
On Saturday 8 July, "Jean Francois Poilpret" wrote:
> void f(const CORBA::Exception& exc)
> {
> CORBA::Any temp;
> temp <<= exc;
> ...
> }
[...]
> "Error: function to insert the user exception into an Any is not
> available"
That message is printed if the dynamic stubs for the exception are not
available. Have you built the idl stubs with Any support? You need to
use the -Wba flag to omniidl, and compile/link the DynSK.cc file.
Cheers,
Duncan.
--
-- Duncan Grisby \ Research Engineer --
-- AT&T Laboratories Cambridge --
-- http://www.uk.research.att.com/~dpg1 --