coverity#1372404 Uncaught exception

Change-Id: Id78404a2fae06004a35c9bf07136bd4806a12e02
This commit is contained in:
Caolán McNamara
2016-08-31 21:59:37 +01:00
parent f9eaeae19d
commit f28dd1d9d2
4 changed files with 4 additions and 4 deletions

View File

@@ -522,7 +522,7 @@ void SAL_CALL OCacheSet::beforeFirst( ) throw(SQLException, RuntimeException)
m_xDriverSet->beforeFirst();
}
void SAL_CALL OCacheSet::afterLast( ) throw(SQLException, RuntimeException)
void SAL_CALL OCacheSet::afterLast( ) throw(SQLException, RuntimeException, std::exception)
{
m_bInserted = m_bUpdated = m_bDeleted = false;
m_xDriverSet->afterLast();

View File

@@ -104,7 +104,7 @@ namespace dbaccess
virtual bool SAL_CALL isBeforeFirst( ) throw(css::sdbc::SQLException, css::uno::RuntimeException);
virtual bool SAL_CALL isAfterLast( ) throw(css::sdbc::SQLException, css::uno::RuntimeException);
virtual void SAL_CALL beforeFirst( ) throw(css::sdbc::SQLException, css::uno::RuntimeException);
virtual void SAL_CALL afterLast( ) throw(css::sdbc::SQLException, css::uno::RuntimeException);
virtual void SAL_CALL afterLast( ) throw(css::sdbc::SQLException, css::uno::RuntimeException, std::exception);
virtual bool SAL_CALL first() throw(css::sdbc::SQLException, css::uno::RuntimeException, std::exception);
virtual bool SAL_CALL last() throw(css::sdbc::SQLException, css::uno::RuntimeException, std::exception);
virtual sal_Int32 SAL_CALL getRow( ) throw(css::sdbc::SQLException, css::uno::RuntimeException);

View File

@@ -141,7 +141,7 @@ void SAL_CALL OStaticSet::beforeFirst( ) throw(SQLException, RuntimeException)
m_aSetIter = m_aSet.begin();
}
void SAL_CALL OStaticSet::afterLast( ) throw(SQLException, RuntimeException)
void SAL_CALL OStaticSet::afterLast( ) throw(SQLException, RuntimeException, std::exception)
{
m_bInserted = m_bUpdated = m_bDeleted = false;
fillAllRows();

View File

@@ -56,7 +56,7 @@ namespace dbaccess
virtual bool SAL_CALL isBeforeFirst( ) throw(css::sdbc::SQLException, css::uno::RuntimeException) override;
virtual bool SAL_CALL isAfterLast( ) throw(css::sdbc::SQLException, css::uno::RuntimeException) override;
virtual void SAL_CALL beforeFirst( ) throw(css::sdbc::SQLException, css::uno::RuntimeException) override;
virtual void SAL_CALL afterLast( ) throw(css::sdbc::SQLException, css::uno::RuntimeException) override;
virtual void SAL_CALL afterLast( ) throw(css::sdbc::SQLException, css::uno::RuntimeException, std::exception) override;
virtual bool SAL_CALL first() throw(css::sdbc::SQLException, css::uno::RuntimeException, std::exception) override;
virtual bool SAL_CALL last() throw(css::sdbc::SQLException, css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL getRow( ) throw(css::sdbc::SQLException, css::uno::RuntimeException) override;