summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/evoab2/NConnection.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/evoab2/NConnection.cxx')
-rw-r--r--connectivity/source/drivers/evoab2/NConnection.cxx44
1 files changed, 22 insertions, 22 deletions
diff --git a/connectivity/source/drivers/evoab2/NConnection.cxx b/connectivity/source/drivers/evoab2/NConnection.cxx
index a9975170727c..fa6fd275e5b6 100644
--- a/connectivity/source/drivers/evoab2/NConnection.cxx
+++ b/connectivity/source/drivers/evoab2/NConnection.cxx
@@ -69,7 +69,7 @@ void SAL_CALL OEvoabConnection::release() throw()
IMPLEMENT_SERVICE_INFO(OEvoabConnection, "com.sun.star.sdbc.drivers.evoab.Connection", "com.sun.star.sdbc.Connection")
-void OEvoabConnection::construct(const OUString& url, const Sequence< PropertyValue >& info) throw(SQLException)
+void OEvoabConnection::construct(const OUString& url, const Sequence< PropertyValue >& info)
{
osl_atomic_increment( &m_refCount );
SAL_INFO("connectivity.evoab2", "OEvoabConnection::construct()::url = " << url );
@@ -100,13 +100,13 @@ void OEvoabConnection::construct(const OUString& url, const Sequence< PropertyVa
}
-OUString SAL_CALL OEvoabConnection::nativeSQL( const OUString& _sSql ) throw(SQLException, RuntimeException, std::exception)
+OUString SAL_CALL OEvoabConnection::nativeSQL( const OUString& _sSql )
{
// when you need to transform SQL92 to you driver specific you can do it here
return _sSql;
}
-Reference< XDatabaseMetaData > SAL_CALL OEvoabConnection::getMetaData( ) throw(SQLException, RuntimeException, std::exception)
+Reference< XDatabaseMetaData > SAL_CALL OEvoabConnection::getMetaData( )
{
::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OConnection_BASE::rBHelper.bDisposed);
@@ -134,7 +134,7 @@ css::uno::Reference< XTablesSupplier > OEvoabConnection::createCatalog()
return xTab;
}
-Reference< XStatement > SAL_CALL OEvoabConnection::createStatement( ) throw(SQLException, RuntimeException, std::exception)
+Reference< XStatement > SAL_CALL OEvoabConnection::createStatement( )
{
::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OConnection_BASE::rBHelper.bDisposed);
@@ -146,7 +146,7 @@ Reference< XStatement > SAL_CALL OEvoabConnection::createStatement( ) throw(SQL
return xStmt;
}
-Reference< XPreparedStatement > SAL_CALL OEvoabConnection::prepareStatement( const OUString& sql ) throw(SQLException, RuntimeException, std::exception)
+Reference< XPreparedStatement > SAL_CALL OEvoabConnection::prepareStatement( const OUString& sql )
{
::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OConnection_BASE::rBHelper.bDisposed);
@@ -159,12 +159,12 @@ Reference< XPreparedStatement > SAL_CALL OEvoabConnection::prepareStatement( con
return xStmt;
}
-Reference< XPreparedStatement > SAL_CALL OEvoabConnection::prepareCall( const OUString& /*sql*/ ) throw( SQLException, RuntimeException, std::exception)
+Reference< XPreparedStatement > SAL_CALL OEvoabConnection::prepareCall( const OUString& /*sql*/ )
{
::dbtools::throwFeatureNotImplementedSQLException( "XConnection::prepareCall", *this );
return nullptr;
}
-sal_Bool SAL_CALL OEvoabConnection::isClosed( ) throw(SQLException, RuntimeException, std::exception)
+sal_Bool SAL_CALL OEvoabConnection::isClosed( )
{
::osl::MutexGuard aGuard( m_aMutex );
return OConnection_BASE::rBHelper.bDisposed;
@@ -172,7 +172,7 @@ sal_Bool SAL_CALL OEvoabConnection::isClosed( ) throw(SQLException, RuntimeExce
// XCloseable
-void SAL_CALL OEvoabConnection::close( ) throw(SQLException, RuntimeException, std::exception)
+void SAL_CALL OEvoabConnection::close( )
{
{ // we just dispose us
::osl::MutexGuard aGuard( m_aMutex );
@@ -183,11 +183,11 @@ void SAL_CALL OEvoabConnection::close( ) throw(SQLException, RuntimeException,
// XWarningsSupplier
-Any SAL_CALL OEvoabConnection::getWarnings( ) throw(SQLException, RuntimeException, std::exception)
+Any SAL_CALL OEvoabConnection::getWarnings( )
{
return m_aWarnings.getWarnings();
}
-void SAL_CALL OEvoabConnection::clearWarnings( ) throw(SQLException, RuntimeException, std::exception)
+void SAL_CALL OEvoabConnection::clearWarnings( )
{
m_aWarnings.clearWarnings();
}
@@ -202,53 +202,53 @@ void OEvoabConnection::disposing()
}
// -------------------------------- stubbed methods ------------------------------------------------
-void SAL_CALL OEvoabConnection::setAutoCommit( sal_Bool /*autoCommit*/ ) throw(SQLException, RuntimeException, std::exception)
+void SAL_CALL OEvoabConnection::setAutoCommit( sal_Bool /*autoCommit*/ )
{
::dbtools::throwFeatureNotImplementedSQLException( "XConnection::setAutoCommit", *this );
}
-sal_Bool SAL_CALL OEvoabConnection::getAutoCommit( ) throw(SQLException, RuntimeException, std::exception)
+sal_Bool SAL_CALL OEvoabConnection::getAutoCommit( )
{
return true;
}
-void SAL_CALL OEvoabConnection::commit( ) throw(SQLException, RuntimeException, std::exception)
+void SAL_CALL OEvoabConnection::commit( )
{
}
-void SAL_CALL OEvoabConnection::rollback( ) throw(SQLException, RuntimeException, std::exception)
+void SAL_CALL OEvoabConnection::rollback( )
{
}
-void SAL_CALL OEvoabConnection::setReadOnly( sal_Bool /*readOnly*/ ) throw(SQLException, RuntimeException, std::exception)
+void SAL_CALL OEvoabConnection::setReadOnly( sal_Bool /*readOnly*/ )
{
::dbtools::throwFeatureNotImplementedSQLException( "XConnection::setReadOnly", *this );
}
-sal_Bool SAL_CALL OEvoabConnection::isReadOnly( ) throw(SQLException, RuntimeException, std::exception)
+sal_Bool SAL_CALL OEvoabConnection::isReadOnly( )
{
return false;
}
-void SAL_CALL OEvoabConnection::setCatalog( const OUString& /*catalog*/ ) throw(SQLException, RuntimeException, std::exception)
+void SAL_CALL OEvoabConnection::setCatalog( const OUString& /*catalog*/ )
{
::dbtools::throwFeatureNotImplementedSQLException( "XConnection::setCatalog", *this );
}
-OUString SAL_CALL OEvoabConnection::getCatalog( ) throw(SQLException, RuntimeException, std::exception)
+OUString SAL_CALL OEvoabConnection::getCatalog( )
{
return OUString();
}
-void SAL_CALL OEvoabConnection::setTransactionIsolation( sal_Int32 /*level*/ ) throw(SQLException, RuntimeException, std::exception)
+void SAL_CALL OEvoabConnection::setTransactionIsolation( sal_Int32 /*level*/ )
{
::dbtools::throwFeatureNotImplementedSQLException( "XConnection::setTransactionIsolation", *this );
}
-sal_Int32 SAL_CALL OEvoabConnection::getTransactionIsolation( ) throw(SQLException, RuntimeException, std::exception)
+sal_Int32 SAL_CALL OEvoabConnection::getTransactionIsolation( )
{
return TransactionIsolation::NONE;
}
-Reference< css::container::XNameAccess > SAL_CALL OEvoabConnection::getTypeMap( ) throw(SQLException, RuntimeException, std::exception)
+Reference< css::container::XNameAccess > SAL_CALL OEvoabConnection::getTypeMap( )
{
::dbtools::throwFeatureNotImplementedSQLException( "XConnection::getTypeMap", *this );
return nullptr;
}
-void SAL_CALL OEvoabConnection::setTypeMap( const Reference< css::container::XNameAccess >& /*typeMap*/ ) throw(SQLException, RuntimeException, std::exception)
+void SAL_CALL OEvoabConnection::setTypeMap( const Reference< css::container::XNameAccess >& /*typeMap*/ )
{
::dbtools::throwFeatureNotImplementedSQLException( "XConnection::setTypeMap", *this );
}