Re: howto set system exceptions?



On Mon, 30 Oct 2000, Dietmar Maurer wrote:

> Elliot Lee wrote:
> 
> > On Mon, 30 Oct 2000, Dietmar Maurer wrote:
> >
> > > How can I raise a system exception in C ?
> > >
> > > CORBA_exception_set (ev, CORBA_SYSTEM_EXCEPTION, ex_CORBA_BAD_PARAM,
> > > NULL)
> >
> > You can't pass NULL for the data - there is required info that you must
> > include.
> 
> Yes - sure. But the problem is that ex_CORBA_BAD_PARAM is an integer, and not a (char
> *)

Oh yea, you will have to use CORBA_exception_set_system() with ORBit
stable stuff, sorry.

-- Elliot
[ "In a democracy, the government is the people," Milo explained. "We're people,
aren't we? So we might just as well keep the money and eliminate the middleman." ]
							- Catch-22





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]