diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-07-01 10:15:58 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-07-01 10:56:14 +0100 |
commit | 6d45e2a4fcacf0e58b4b8d22ad452e48a996ad88 (patch) | |
tree | 9d7a7243fb2bcc37b9b090c774f645cafa88adbc /connectivity/source/drivers/file/FStatement.cxx | |
parent | 5ace3f3b4f2f916d8b2acab1b5cc0fe2a5a19dee (diff) |
coverity#1224302 Uncaught exception
Change-Id: I622a7c41c9083f2deec21dc8c37572f978874127
Diffstat (limited to 'connectivity/source/drivers/file/FStatement.cxx')
-rw-r--r-- | connectivity/source/drivers/file/FStatement.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/connectivity/source/drivers/file/FStatement.cxx b/connectivity/source/drivers/file/FStatement.cxx index bf88543a3b42..c83fadfab892 100644 --- a/connectivity/source/drivers/file/FStatement.cxx +++ b/connectivity/source/drivers/file/FStatement.cxx @@ -176,8 +176,7 @@ void SAL_CALL OStatement_Base::cancel( ) throw(RuntimeException, std::exception { } - -void SAL_CALL OStatement_Base::close( ) throw(SQLException, RuntimeException, std::exception) +void SAL_CALL OStatement_Base::close() throw (SQLException, RuntimeException, std::exception) { { ::osl::MutexGuard aGuard( m_aMutex ); @@ -186,7 +185,7 @@ void SAL_CALL OStatement_Base::close( ) throw(SQLException, RuntimeException, s dispose(); } -void OStatement_Base::closeResultSet () throw (SQLException) +void OStatement_Base::closeResultSet() throw (SQLException, RuntimeException, std::exception) { SAL_INFO( "connectivity.drivers", "file Ocke.Janssen@sun.com OStatement_Base::clearMyResultSet " ); ::osl::MutexGuard aGuard( m_aMutex ); |