diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-07-21 10:40:45 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-07-21 13:59:34 +0100 |
commit | 8923103eeedc79ee8e4384ea4a1df57d76a0d5d4 (patch) | |
tree | e074dd6049e24beeee93c36258b615557f443f6e /connectivity/source/drivers/evoab2/NConnection.cxx | |
parent | d4758e6f699259e865426fd761c58009d3eca7d1 (diff) |
coverity#706376 Uncaught exception
Change-Id: Ic18823fd60826c144058df32c27ab25d58664e30
Diffstat (limited to 'connectivity/source/drivers/evoab2/NConnection.cxx')
-rw-r--r-- | connectivity/source/drivers/evoab2/NConnection.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/connectivity/source/drivers/evoab2/NConnection.cxx b/connectivity/source/drivers/evoab2/NConnection.cxx index 67204db0f049..c6f00509e4d2 100644 --- a/connectivity/source/drivers/evoab2/NConnection.cxx +++ b/connectivity/source/drivers/evoab2/NConnection.cxx @@ -160,7 +160,7 @@ Reference< XPreparedStatement > SAL_CALL OEvoabConnection::prepareStatement( con Reference< XPreparedStatement > SAL_CALL OEvoabConnection::prepareCall( const OUString& /*sql*/ ) throw( SQLException, RuntimeException, std::exception) { - ::dbtools::throwFeatureNotImplementedException( "XConnection::prepareCall", *this ); + ::dbtools::throwFeatureNotImplementedSQLException( "XConnection::prepareCall", *this ); return NULL; } sal_Bool SAL_CALL OEvoabConnection::isClosed( ) throw(SQLException, RuntimeException, std::exception) @@ -203,7 +203,7 @@ void OEvoabConnection::disposing() // -------------------------------- stubbed methods ------------------------------------------------ void SAL_CALL OEvoabConnection::setAutoCommit( sal_Bool /*autoCommit*/ ) throw(SQLException, RuntimeException, std::exception) { - ::dbtools::throwFeatureNotImplementedException( "XConnection::setAutoCommit", *this ); + ::dbtools::throwFeatureNotImplementedSQLException( "XConnection::setAutoCommit", *this ); } sal_Bool SAL_CALL OEvoabConnection::getAutoCommit( ) throw(SQLException, RuntimeException, std::exception) { @@ -217,7 +217,7 @@ void SAL_CALL OEvoabConnection::rollback( ) throw(SQLException, RuntimeExceptio } void SAL_CALL OEvoabConnection::setReadOnly( sal_Bool /*readOnly*/ ) throw(SQLException, RuntimeException, std::exception) { - ::dbtools::throwFeatureNotImplementedException( "XConnection::setReadOnly", *this ); + ::dbtools::throwFeatureNotImplementedSQLException( "XConnection::setReadOnly", *this ); } sal_Bool SAL_CALL OEvoabConnection::isReadOnly( ) throw(SQLException, RuntimeException, std::exception) { @@ -225,7 +225,7 @@ sal_Bool SAL_CALL OEvoabConnection::isReadOnly( ) throw(SQLException, RuntimeEx } void SAL_CALL OEvoabConnection::setCatalog( const OUString& /*catalog*/ ) throw(SQLException, RuntimeException, std::exception) { - ::dbtools::throwFeatureNotImplementedException( "XConnection::setCatalog", *this ); + ::dbtools::throwFeatureNotImplementedSQLException( "XConnection::setCatalog", *this ); } OUString SAL_CALL OEvoabConnection::getCatalog( ) throw(SQLException, RuntimeException, std::exception) @@ -234,7 +234,7 @@ OUString SAL_CALL OEvoabConnection::getCatalog( ) throw(SQLException, RuntimeEx } void SAL_CALL OEvoabConnection::setTransactionIsolation( sal_Int32 /*level*/ ) throw(SQLException, RuntimeException, std::exception) { - ::dbtools::throwFeatureNotImplementedException( "XConnection::setTransactionIsolation", *this ); + ::dbtools::throwFeatureNotImplementedSQLException( "XConnection::setTransactionIsolation", *this ); } sal_Int32 SAL_CALL OEvoabConnection::getTransactionIsolation( ) throw(SQLException, RuntimeException, std::exception) @@ -244,12 +244,12 @@ sal_Int32 SAL_CALL OEvoabConnection::getTransactionIsolation( ) throw(SQLExcept Reference< ::com::sun::star::container::XNameAccess > SAL_CALL OEvoabConnection::getTypeMap( ) throw(SQLException, RuntimeException, std::exception) { - ::dbtools::throwFeatureNotImplementedException( "XConnection::getTypeMap", *this ); + ::dbtools::throwFeatureNotImplementedSQLException( "XConnection::getTypeMap", *this ); return NULL; } void SAL_CALL OEvoabConnection::setTypeMap( const Reference< ::com::sun::star::container::XNameAccess >& /*typeMap*/ ) throw(SQLException, RuntimeException, std::exception) { - ::dbtools::throwFeatureNotImplementedException( "XConnection::setTypeMap", *this ); + ::dbtools::throwFeatureNotImplementedSQLException( "XConnection::setTypeMap", *this ); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |