diff options
Diffstat (limited to 'connectivity/source/cpool/ZDriverWrapper.cxx')
-rw-r--r-- | connectivity/source/cpool/ZDriverWrapper.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/connectivity/source/cpool/ZDriverWrapper.cxx b/connectivity/source/cpool/ZDriverWrapper.cxx index d9df6fcb3a9d..811f103bc9a6 100644 --- a/connectivity/source/cpool/ZDriverWrapper.cxx +++ b/connectivity/source/cpool/ZDriverWrapper.cxx @@ -61,14 +61,14 @@ namespace connectivity } - Any SAL_CALL ODriverWrapper::queryInterface( const Type& _rType ) throw (RuntimeException, std::exception) + Any SAL_CALL ODriverWrapper::queryInterface( const Type& _rType ) { Any aReturn = ODriverWrapper_BASE::queryInterface(_rType); return aReturn.hasValue() ? aReturn : (m_xDriverAggregate.is() ? m_xDriverAggregate->queryAggregation(_rType) : aReturn); } - Reference< XConnection > SAL_CALL ODriverWrapper::connect( const OUString& url, const Sequence< PropertyValue >& info ) throw (SQLException, RuntimeException, std::exception) + Reference< XConnection > SAL_CALL ODriverWrapper::connect( const OUString& url, const Sequence< PropertyValue >& info ) { Reference< XConnection > xConnection; if (m_pConnectionPool.is()) @@ -81,13 +81,13 @@ namespace connectivity } - sal_Bool SAL_CALL ODriverWrapper::acceptsURL( const OUString& url ) throw (SQLException, RuntimeException, std::exception) + sal_Bool SAL_CALL ODriverWrapper::acceptsURL( const OUString& url ) { return m_xDriver.is() && m_xDriver->acceptsURL(url); } - Sequence< DriverPropertyInfo > SAL_CALL ODriverWrapper::getPropertyInfo( const OUString& url, const Sequence< PropertyValue >& info ) throw (SQLException, RuntimeException, std::exception) + Sequence< DriverPropertyInfo > SAL_CALL ODriverWrapper::getPropertyInfo( const OUString& url, const Sequence< PropertyValue >& info ) { Sequence< DriverPropertyInfo > aInfo; if (m_xDriver.is()) @@ -96,13 +96,13 @@ namespace connectivity } - sal_Int32 SAL_CALL ODriverWrapper::getMajorVersion( ) throw (RuntimeException, std::exception) + sal_Int32 SAL_CALL ODriverWrapper::getMajorVersion( ) { return m_xDriver.is() ? m_xDriver->getMajorVersion() : 0; } - sal_Int32 SAL_CALL ODriverWrapper::getMinorVersion( ) throw (RuntimeException, std::exception) + sal_Int32 SAL_CALL ODriverWrapper::getMinorVersion( ) { return m_xDriver.is() ? m_xDriver->getMinorVersion() : 0; } |