Re: howto set system exceptions?



Elliot Lee wrote:

> 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.

But this is a ORBit specific function, and not CORBA standard?





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