summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-21 10:40:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-21 13:59:34 +0100
commit8923103eeedc79ee8e4384ea4a1df57d76a0d5d4 (patch)
treee074dd6049e24beeee93c36258b615557f443f6e /dbaccess
parentd4758e6f699259e865426fd761c58009d3eca7d1 (diff)
coverity#706376 Uncaught exception
Change-Id: Ic18823fd60826c144058df32c27ab25d58664e30
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/api/RowSet.cxx8
-rw-r--r--dbaccess/source/core/api/RowSetBase.cxx4
2 files changed, 6 insertions, 6 deletions
diff --git a/dbaccess/source/core/api/RowSet.cxx b/dbaccess/source/core/api/RowSet.cxx
index 534093a20d6a..e31879e48b55 100644
--- a/dbaccess/source/core/api/RowSet.cxx
+++ b/dbaccess/source/core/api/RowSet.cxx
@@ -2629,22 +2629,22 @@ void SAL_CALL ORowSet::setObjectWithInfo( sal_Int32 parameterIndex, const Any& x
void SAL_CALL ORowSet::setRef( sal_Int32 /*parameterIndex*/, const Reference< XRef >& /*x*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFeatureNotImplementedException( "XParameters::setRef", *this );
+ ::dbtools::throwFeatureNotImplementedSQLException( "XParameters::setRef", *this );
}
void SAL_CALL ORowSet::setBlob( sal_Int32 /*parameterIndex*/, const Reference< XBlob >& /*x*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFeatureNotImplementedException( "XParameters::setBlob", *this );
+ ::dbtools::throwFeatureNotImplementedSQLException( "XParameters::setBlob", *this );
}
void SAL_CALL ORowSet::setClob( sal_Int32 /*parameterIndex*/, const Reference< XClob >& /*x*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFeatureNotImplementedException( "XParameters::setClob", *this );
+ ::dbtools::throwFeatureNotImplementedSQLException( "XParameters::setClob", *this );
}
void SAL_CALL ORowSet::setArray( sal_Int32 /*parameterIndex*/, const Reference< XArray >& /*x*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFeatureNotImplementedException( "XParameters::setArray", *this );
+ ::dbtools::throwFeatureNotImplementedSQLException( "XParameters::setArray", *this );
}
void SAL_CALL ORowSet::clearParameters( ) throw(SQLException, RuntimeException, std::exception)
diff --git a/dbaccess/source/core/api/RowSetBase.cxx b/dbaccess/source/core/api/RowSetBase.cxx
index 0bcee0cfdbfc..09c6b1ad8f2b 100644
--- a/dbaccess/source/core/api/RowSetBase.cxx
+++ b/dbaccess/source/core/api/RowSetBase.cxx
@@ -378,7 +378,7 @@ Any SAL_CALL ORowSetBase::getObject( sal_Int32 columnIndex, const Reference< XNa
Reference< XRef > SAL_CALL ORowSetBase::getRef( sal_Int32 /*columnIndex*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFeatureNotImplementedException( "XRow::getRef", *m_pMySelf );
+ ::dbtools::throwFeatureNotImplementedSQLException( "XRow::getRef", *m_pMySelf );
return NULL;
}
@@ -394,7 +394,7 @@ Reference< XClob > SAL_CALL ORowSetBase::getClob( sal_Int32 columnIndex ) throw(
Reference< XArray > SAL_CALL ORowSetBase::getArray( sal_Int32 /*columnIndex*/ ) throw(SQLException, RuntimeException, std::exception)
{
- ::dbtools::throwFeatureNotImplementedException( "XRow::getArray", *m_pMySelf );
+ ::dbtools::throwFeatureNotImplementedSQLException( "XRow::getArray", *m_pMySelf );
return NULL;
}