On 2005-06-07, Paul Drummond <paul.drummond@dsl.pipex.com> wrote:
[color=blue]
> The strange thing is that the problem **DISAPPEARS** by including an
> exception specification for every single method in the hierarchy of
> calls from main to where the throw occurs! Does this mean that
> exception specifcations are mandatory? No, it can't because by
> definition, no exception specification means that a method can throw
> anything!
>
> I have tried isolating the problem using a dummy shared lib and a test
> harness but it works fine without any exception specification which
> suggests they are not mandatory, and that there is something else going
> on!
>
> Can anyone offer any insight into this strange behaviour?[/color]
This problem can happen when something in the chain isn't built with
support for exceptions. People have had this problem writing modules
for python, for example. Use google, it's been discussed elsewhere but
not topical here.
Cheers,
--
Donovan Rebbechi
http://pegasus.rutgers.edu/~elflord/