Re: [dev] [c++]openoffice exception handling

2005-08-15 Thread Stephan Bergmann
aditya kumar pandey wrote: Hi I have been writing programs using OpenOffice SDK (1.9.113) for a while now. I am not able to catch exceptions. So I wrote a small program. And even their exceptions are not caught! I have tested this with OO 1.9.113 on a Red Hat Fedora Core 3, and a Red Hat 9

Re: [dev] [c++]openoffice exception handling

2005-08-05 Thread Daniel Boelzle
Hello Eike, * Hi Daniel, On Thu, Aug 04, 2005 at 18:00:21 +0200, Daniel Bölzle wrote: additional tip: always catch by reference (Exception ), saving an extra copy construction. Not only saving copy construction, but also preventing slicing off derived classes in case only a base

[dev] [c++]openoffice exception handling

2005-08-04 Thread aditya kumar pandey
Hi I have been writing programs using OpenOffice SDK (1.9.113) for a while now. I am not able to catch exceptions. So I wrote a small program. And even their exceptions are not caught! I have tested this with OO 1.9.113 on a Red Hat Fedora Core 3, and a Red Hat 9 machine. Reference Example:

Re: [dev] [c++]openoffice exception handling

2005-08-04 Thread Eike Rathke
Hi Daniel, On Thu, Aug 04, 2005 at 18:00:21 +0200, Daniel Bölzle wrote: additional tip: always catch by reference (Exception ), saving an extra copy construction. Not only saving copy construction, but also preventing slicing off derived classes in case only a base class is caught and the