summaryrefslogtreecommitdiff
path: root/mysqlc/source/mysqlc_driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mysqlc/source/mysqlc_driver.cxx')
-rw-r--r--mysqlc/source/mysqlc_driver.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/mysqlc/source/mysqlc_driver.cxx b/mysqlc/source/mysqlc_driver.cxx
index 100a6c591855..02d0184f83ef 100644
--- a/mysqlc/source/mysqlc_driver.cxx
+++ b/mysqlc/source/mysqlc_driver.cxx
@@ -71,13 +71,11 @@ void MysqlCDriver::disposing()
// static ServiceInfo
rtl::OUString MysqlCDriver::getImplementationName_Static()
- throw(RuntimeException)
{
return rtl::OUString( "com.sun.star.comp.sdbc.mysqlc.MysqlCDriver" );
}
Sequence< rtl::OUString > MysqlCDriver::getSupportedServiceNames_Static()
- throw(RuntimeException)
{
// which service is supported
// for more information @see com.sun.star.sdbc.Driver
@@ -87,19 +85,16 @@ Sequence< rtl::OUString > MysqlCDriver::getSupportedServiceNames_Static()
}
rtl::OUString SAL_CALL MysqlCDriver::getImplementationName()
- throw(RuntimeException, std::exception)
{
return getImplementationName_Static();
}
sal_Bool SAL_CALL MysqlCDriver::supportsService(const rtl::OUString& _rServiceName)
- throw(RuntimeException, std::exception)
{
return cppu::supportsService(this, _rServiceName);
}
Sequence< rtl::OUString > SAL_CALL MysqlCDriver::getSupportedServiceNames()
- throw(RuntimeException, std::exception)
{
return getSupportedServiceNames_Static();
}
@@ -186,7 +181,6 @@ void MysqlCDriver::impl_initCppConn_lck_throw()
}
Reference< XConnection > SAL_CALL MysqlCDriver::connect(const rtl::OUString& url, const Sequence< PropertyValue >& info)
- throw(SQLException, RuntimeException, std::exception)
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -218,13 +212,11 @@ Reference< XConnection > SAL_CALL MysqlCDriver::connect(const rtl::OUString& url
}
sal_Bool SAL_CALL MysqlCDriver::acceptsURL(const rtl::OUString& url)
- throw(SQLException, RuntimeException, std::exception)
{
return url.startsWith("sdbc:mysqlc:");
}
Sequence< DriverPropertyInfo > SAL_CALL MysqlCDriver::getPropertyInfo(const rtl::OUString& url, const Sequence< PropertyValue >& /* info */)
- throw(SQLException, RuntimeException, std::exception)
{
if (acceptsURL(url)) {
::std::vector< DriverPropertyInfo > aDriverInfo;
@@ -250,13 +242,11 @@ Sequence< DriverPropertyInfo > SAL_CALL MysqlCDriver::getPropertyInfo(const rtl:
}
sal_Int32 SAL_CALL MysqlCDriver::getMajorVersion()
- throw(RuntimeException, std::exception)
{
return MARIADBC_VERSION_MAJOR;
}
sal_Int32 SAL_CALL MysqlCDriver::getMinorVersion()
- throw(RuntimeException, std::exception)
{
return MARIADBC_VERSION_MINOR;
}
@@ -267,7 +257,6 @@ namespace mysqlc
{
Reference< XInterface > SAL_CALL MysqlCDriver_CreateInstance(const Reference< XMultiServiceFactory >& _rxFactory)
- throw(css::uno::Exception)
{
return(*(new MysqlCDriver(_rxFactory)));
}
@@ -307,7 +296,6 @@ void release(oslInterlockedCount& _refCount,
}
void checkDisposed(bool _bThrow)
- throw (DisposedException)
{
if (_bThrow) {
throw DisposedException();