From 968f633b247d06c958d0b5695ab1ed962509f795 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 1 Jul 2014 15:37:44 +0100 Subject: coverity#706382 Uncaught exception and coverity#706377 coverity#706378 coverity#706382 Change-Id: I17f672e31867b1be77c16a8a6e121a8f67df7c90 --- dbaccess/source/core/api/RowSet.cxx | 6 +++--- dbaccess/source/core/api/TableDeco.cxx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'dbaccess') 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: */ -- cgit