|
Boost : |
From: Jeff Garland (jeff_at_[hidden])
Date: 2004-02-09 16:04:40
On Mon, 09 Feb 2004 14:55:39 -0500, Stefan Seefeld wrote
> Glen Knowles wrote:
> > If it is not a recognized corba exception what the ACE TAO does is eat
> > it with a catch(...) and then throws a corba system exception on the
> > other side.
>
> yes, so all exceptions that are allowed to pass have to be
> explicitely declared as such. If it is not declared, a special
> standard exception will be thrown (or may be something equivalent to
> 'unexpected').
The object request broker throws CORBA::Unknown if it catches an exception
not in the interface specification.
BTW, I like the idea someone else suggested of using a typelist to specify
known exception types....
Jeff
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk