summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-01 15:37:44 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-01 16:43:05 +0100
commit968f633b247d06c958d0b5695ab1ed962509f795 (patch)
tree464d3fe9ca4e8e7f5a084636345dad4ead2a1d7f /dbaccess
parentb35f3dfb1afa78722a4cd8e69a625456a6dd01d6 (diff)
coverity#706382 Uncaught exception
and coverity#706377 coverity#706378 coverity#706382 Change-Id: I17f672e31867b1be77c16a8a6e121a8f67df7c90
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/api/RowSet.cxx6
-rw-r--r--dbaccess/source/core/api/TableDeco.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/core/api/RowSet.cxx b/dbaccess/source/core/api/RowSet.cxx
index 8be73ca8a6b7..534093a20d6a 100644
--- a/dbaccess/source/core/api/RowSet.cxx
+++ b/dbaccess/source/core/api/RowSet.cxx
@@ -2983,17 +2983,17 @@ bool ORowSetClone::isNew( )
void SAL_CALL ORowSetClone::execute( ) throw(SQLException, RuntimeException, std::exception)
{
- throwFunctionNotSupportedException( "RowSetClone::XRowSet::execute", *this );
+ throwFunctionNotSupportedSQLException( "RowSetClone::XRowSet::execute", *this );
}
void SAL_CALL ORowSetClone::addRowSetListener( const Reference< XRowSetListener >& ) throw(RuntimeException, std::exception)
{
- throwFunctionNotSupportedException( "RowSetClone::XRowSet", *this );
+ throwFunctionNotSupportedRuntimeException( "RowSetClone::XRowSet", *this );
}
void SAL_CALL ORowSetClone::removeRowSetListener( const Reference< XRowSetListener >& ) throw(RuntimeException, std::exception)
{
- throwFunctionNotSupportedException( "RowSetClone::XRowSet", *this );
+ throwFunctionNotSupportedRuntimeException( "RowSetClone::XRowSet", *this );
}
} // dbaccess
diff --git a/dbaccess/source/core/api/TableDeco.cxx b/dbaccess/source/core/api/TableDeco.cxx
index 3872d3976189..0c21188c477d 100644
--- a/dbaccess/source/core/api/TableDeco.cxx
+++ b/dbaccess/source/core/api/TableDeco.cxx
@@ -642,7 +642,7 @@ void SAL_CALL ODBTableDecorator::release() throw()
void SAL_CALL ODBTableDecorator::setName( const OUString& /*aName*/ ) throw (::com::sun::star::uno::RuntimeException, std::exception)
{
- throwFunctionNotSupportedException( "XNamed::setName", *this );
+ throwFunctionNotSupportedRuntimeException( "XNamed::setName", *this );
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */