diff options
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/firebird/PreparedStatement.cxx | 4 | ||||
-rw-r--r-- | connectivity/source/drivers/firebird/PreparedStatement.hxx | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/connectivity/source/drivers/firebird/PreparedStatement.cxx b/connectivity/source/drivers/firebird/PreparedStatement.cxx index 1317b6f02639..9e0531190dec 100644 --- a/connectivity/source/drivers/firebird/PreparedStatement.cxx +++ b/connectivity/source/drivers/firebird/PreparedStatement.cxx @@ -64,7 +64,7 @@ OPreparedStatement::OPreparedStatement( OConnection* _pConnection, } void OPreparedStatement::ensurePrepared() - throw (SQLException) + throw (SQLException, RuntimeException) { MutexGuard aGuard(m_pConnection->getMutex()); checkDisposed(OStatementCommonBase_Base::rBHelper.bDisposed); @@ -584,7 +584,7 @@ void OPreparedStatement::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,cons } void OPreparedStatement::checkParameterIndex(sal_Int32 nParameterIndex) - throw(SQLException) + throw(SQLException, RuntimeException) { ensurePrepared(); if ((nParameterIndex == 0) || (nParameterIndex > m_pInSqlda->sqld)) diff --git a/connectivity/source/drivers/firebird/PreparedStatement.hxx b/connectivity/source/drivers/firebird/PreparedStatement.hxx index c071fa2326c2..1a8b0f458cba 100644 --- a/connectivity/source/drivers/firebird/PreparedStatement.hxx +++ b/connectivity/source/drivers/firebird/PreparedStatement.hxx @@ -72,7 +72,8 @@ namespace connectivity XSQLDA* m_pOutSqlda; XSQLDA* m_pInSqlda; void checkParameterIndex(sal_Int32 nParameterIndex) - throw(::com::sun::star::sdbc::SQLException); + throw(::com::sun::star::sdbc::SQLException, + ::com::sun::star::uno::RuntimeException); /** * Set a numeric value in the input SQLDA. If the destination @@ -84,7 +85,8 @@ namespace connectivity void setParameterNull(sal_Int32 nParameterIndex, bool bSetNull = true); void ensurePrepared() - throw(::com::sun::star::sdbc::SQLException); + throw(::com::sun::star::sdbc::SQLException, + ::com::sun::star::uno::RuntimeException); protected: virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, |