diff options
author | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2013-09-06 08:16:48 +0100 |
---|---|---|
committer | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2013-09-06 08:41:00 +0100 |
commit | 08081fffa0733fd6fcabf75ef2e809c64b1f4bfd (patch) | |
tree | 9308efb6ffc661c6c2c3d612d032ae8dc4ebac5d /connectivity/source | |
parent | 98862b0fde8f15b93f02ed86267d3fdd659c8a1e (diff) |
CID#1079047 Uncaught exception. (firebird-sdbc)
In this case we can just pass the DisposedException (is a RuntimeException)
onto the calling methods.
Change-Id: I379974fd7998151d503020742ae7ae18cbdfaf7c
Diffstat (limited to 'connectivity/source')
-rw-r--r-- | connectivity/source/drivers/firebird/ResultSet.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/firebird/ResultSet.hxx | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/connectivity/source/drivers/firebird/ResultSet.cxx b/connectivity/source/drivers/firebird/ResultSet.cxx index eabf65fdff65..a342fb11f2ed 100644 --- a/connectivity/source/drivers/firebird/ResultSet.cxx +++ b/connectivity/source/drivers/firebird/ResultSet.cxx @@ -289,7 +289,7 @@ void SAL_CALL OResultSet::checkColumnIndex(sal_Int32 index) } void SAL_CALL OResultSet::checkRowIndex() - throw (SQLException) + throw (SQLException, RuntimeException) { MutexGuard aGuard(m_pConnection->getMutex()); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); diff --git a/connectivity/source/drivers/firebird/ResultSet.hxx b/connectivity/source/drivers/firebird/ResultSet.hxx index 6b994daa20d2..129edda6042b 100644 --- a/connectivity/source/drivers/firebird/ResultSet.hxx +++ b/connectivity/source/drivers/firebird/ResultSet.hxx @@ -102,9 +102,11 @@ namespace connectivity virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper(); virtual void SAL_CALL checkColumnIndex( sal_Int32 index ) - throw ( com::sun::star::sdbc::SQLException, com::sun::star::uno::RuntimeException ); + throw (::com::sun::star::sdbc::SQLException, + ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL checkRowIndex() - throw ( com::sun::star::sdbc::SQLException); + throw (::com::sun::star::sdbc::SQLException, + ::com::sun::star::uno::RuntimeException); // you can't delete objects of this type virtual ~OResultSet(); |