Tag: cws_src680_dba23a
User: fs      
Date: 2007/03/15 03:04:26

Modified:
   dba/dbaccess/source/core/misc/propertybag.cxx

Log:
 propagate original exception in WrappedTargetException

File Changes:

Directory: /dba/dbaccess/source/core/misc/
==========================================

File [changed]: propertybag.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/misc/propertybag.cxx?r1=1.5&r2=1.5.60.1
Delta lines:  +10 -10
---------------------
--- propertybag.cxx     24 Oct 2006 15:14:36 -0000      1.5
+++ propertybag.cxx     15 Mar 2007 10:04:23 -0000      1.5.60.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: propertybag.cxx,v $
  *
- *  $Revision: 1.5 $
+ *  $Revision: 1.5.60.1 $
  *
- *  last change: $Author: hr $ $Date: 2006/10/24 15:14:36 $
+ *  last change: $Author: fs $ $Date: 2007/03/15 10:04:23 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -431,19 +431,19 @@
                 setFastPropertyValues( nCount, aHandles.getArray(),
                     aValues.getConstArray(), nHitCount );
         }
-        catch( PropertyVetoException )      { throw; }
-        catch( IllegalArgumentException )   { throw; }
-        catch( WrappedTargetException )     { throw; }
-        catch( RuntimeException )           { throw; }
-        catch( UnknownPropertyException )
+        catch( const PropertyVetoException& )      { throw; }
+        catch( const IllegalArgumentException& )   { throw; }
+        catch( const WrappedTargetException& )     { throw; }
+        catch( const RuntimeException& )           { throw; }
+        catch( const UnknownPropertyException& )
         {
             if ( !_bTolerateUnknownProperties )
                 throw;
             bDoAddProperties = true;
         }
-        catch( Exception e )
+        catch( const Exception& )
         {
-            throw WrappedTargetException( ::rtl::OUString(), *this, makeAny( e 
) );
+            throw WrappedTargetException( ::rtl::OUString(), *this, 
::cppu::getCaughtException() );
         }
 
         if ( bDoAddProperties )




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

Reply via email to