Hi Daniel, thanks for your reply.

> > Strange, this code throws an exception itself:
> > catch(com::sun::star::uno::Exception &e)
> > {   Any a = cppu::getCaughtException(); // Another Exception thrown here
> 
> Don't wonder about that, it's an implementation trick that the exception
> is internally rethrown and caught again by the C++-UNO bridge.
The problem is that for me it's not caught by the C++-UNO bridge but by
another catch-block:

try {
...
        try {
        ...
        }
        catch(com::sun::star::uno::Exception &e)
        {       Any a = cppu::getCaughtException(); // Another Exception
thrown
        }
...
}
catch(Exception &e)
{ // Here the Exception of cppu::getCaughtException(); is caught.
}

Bug or feature?

Martin


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to