diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2007-01-15 12:34:10 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2007-01-15 12:34:10 +0000 |
commit | e4fa3c57f7d68e8086d5cc53c4e65cb591af9288 (patch) | |
tree | b334923af14e1c15c4c7a26ffb19631deb2909a1 /connectivity | |
parent | 8ddaee02474a70c8b664eca1d2fc17c2c3027085 (diff) |
INTEGRATION: CWS dba22b (1.21.38); FILE MERGED
2007/01/03 12:53:30 fs 1.21.38.2: #i10000#
2006/12/19 12:09:47 fs 1.21.38.1: cosmetic changes
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/hsqldb/HDriver.cxx | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/connectivity/source/drivers/hsqldb/HDriver.cxx b/connectivity/source/drivers/hsqldb/HDriver.cxx index 374259b868d0..8f052b3d193f 100644 --- a/connectivity/source/drivers/hsqldb/HDriver.cxx +++ b/connectivity/source/drivers/hsqldb/HDriver.cxx @@ -4,9 +4,9 @@ * * $RCSfile: HDriver.cxx,v $ * - * $Revision: 1.21 $ + * $Revision: 1.22 $ * - * last change: $Author: kz $ $Date: 2006-10-05 12:45:01 $ + * last change: $Author: vg $ $Date: 2007-01-15 13:34:10 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -272,15 +272,11 @@ namespace connectivity { xOrig = xDriver->connect( sConnectURL, aConvertedProperties ); } - catch(SQLException e) + catch(const Exception& e) { StorageContainer::revokeStorage(sKey,NULL); - throw e; - } - catch(Exception e) - { - StorageContainer::revokeStorage(sKey,NULL); - throw e; + (void)e; + throw; } // if the storage is completely empty, then we just created a new HSQLDB |