diff options
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/firebird/PreparedStatement.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/firebird/PreparedStatement.hxx | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/connectivity/source/drivers/firebird/PreparedStatement.cxx b/connectivity/source/drivers/firebird/PreparedStatement.cxx index 0069d7129a12..1317b6f02639 100644 --- a/connectivity/source/drivers/firebird/PreparedStatement.cxx +++ b/connectivity/source/drivers/firebird/PreparedStatement.cxx @@ -333,7 +333,7 @@ void SAL_CALL OPreparedStatement::setBoolean(sal_Int32 nIndex, sal_Bool x) template <typename T> void OPreparedStatement::setValue(sal_Int32 nIndex, T& nValue, ISC_SHORT nType) - throw(SQLException) + throw(SQLException, RuntimeException) { MutexGuard aGuard( m_pConnection->getMutex() ); checkDisposed(OStatementCommonBase_Base::rBHelper.bDisposed); diff --git a/connectivity/source/drivers/firebird/PreparedStatement.hxx b/connectivity/source/drivers/firebird/PreparedStatement.hxx index c32be80d9644..c071fa2326c2 100644 --- a/connectivity/source/drivers/firebird/PreparedStatement.hxx +++ b/connectivity/source/drivers/firebird/PreparedStatement.hxx @@ -79,7 +79,8 @@ namespace connectivity * parameter is not of nType then an Exception will be thrown. */ template <typename T> void setValue(sal_Int32 nIndex, T& nValue, ISC_SHORT nType) - throw(::com::sun::star::sdbc::SQLException); + throw(::com::sun::star::sdbc::SQLException, + ::com::sun::star::uno::RuntimeException); void setParameterNull(sal_Int32 nParameterIndex, bool bSetNull = true); void ensurePrepared() |