summaryrefslogtreecommitdiff
path: root/mysqlc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 21:31:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-26 18:22:20 +0100
commit5e21a413c788f839a66d9e4c14e745ed18058db8 (patch)
treed4451246461346a425ad6f796e08bf1514cdd942 /mysqlc
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'mysqlc')
-rw-r--r--mysqlc/source/mysqlc_connection.cxx48
-rw-r--r--mysqlc/source/mysqlc_connection.hxx48
-rw-r--r--mysqlc/source/mysqlc_databasemetadata.cxx298
-rw-r--r--mysqlc/source/mysqlc_databasemetadata.hxx298
-rw-r--r--mysqlc/source/mysqlc_driver.cxx16
-rw-r--r--mysqlc/source/mysqlc_driver.hxx16
-rw-r--r--mysqlc/source/mysqlc_preparedstatement.cxx82
-rw-r--r--mysqlc/source/mysqlc_preparedstatement.hxx82
-rw-r--r--mysqlc/source/mysqlc_resultset.cxx162
-rw-r--r--mysqlc/source/mysqlc_resultset.hxx162
-rw-r--r--mysqlc/source/mysqlc_resultsetmetadata.cxx42
-rw-r--r--mysqlc/source/mysqlc_resultsetmetadata.hxx42
-rw-r--r--mysqlc/source/mysqlc_statement.cxx44
-rw-r--r--mysqlc/source/mysqlc_statement.hxx44
14 files changed, 692 insertions, 692 deletions
diff --git a/mysqlc/source/mysqlc_connection.cxx b/mysqlc/source/mysqlc_connection.cxx
index f9e605dc8c33..7420e9f5d75f 100644
--- a/mysqlc/source/mysqlc_connection.cxx
+++ b/mysqlc/source/mysqlc_connection.cxx
@@ -221,13 +221,13 @@ void OConnection::construct(const OUString& url, const Sequence< PropertyValue >
}
/* }}} */
-OUString OConnection::getImplementationName() throw (css::uno::RuntimeException)
+OUString OConnection::getImplementationName() throw (css::uno::RuntimeException, std::exception)
{
return OUString("com.sun.star.sdbc.drivers.mysqlc.OConnection");
}
css::uno::Sequence<OUString> OConnection::getSupportedServiceNames()
- throw (css::uno::RuntimeException)
+ throw (css::uno::RuntimeException, std::exception)
{
css::uno::Sequence<OUString> s(1);
s[0] = "com.sun.star.sdbc.Connection";
@@ -235,14 +235,14 @@ css::uno::Sequence<OUString> OConnection::getSupportedServiceNames()
}
sal_Bool OConnection::supportsService(OUString const & ServiceName)
- throw (css::uno::RuntimeException)
+ throw (css::uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, ServiceName);
}
/* {{{ OConnection::createStatement() -I- */
Reference< XStatement > SAL_CALL OConnection::createStatement()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OConnection::createStatement");
MutexGuard aGuard(m_aMutex);
@@ -265,7 +265,7 @@ Reference< XStatement > SAL_CALL OConnection::createStatement()
/* {{{ OConnection::createStatement() -I- */
Reference< XPreparedStatement > SAL_CALL OConnection::prepareStatement(const OUString& _sSql)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OConnection::prepareStatement");
MutexGuard aGuard(m_aMutex);
@@ -289,7 +289,7 @@ Reference< XPreparedStatement > SAL_CALL OConnection::prepareStatement(const OUS
/* {{{ OConnection::prepareCall() -U- */
Reference< XPreparedStatement > SAL_CALL OConnection::prepareCall(const OUString& /*_sSql*/ )
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OConnection::prepareCall");
MutexGuard aGuard(m_aMutex);
@@ -303,7 +303,7 @@ Reference< XPreparedStatement > SAL_CALL OConnection::prepareCall(const OUString
/* {{{ OConnection::nativeSQL() -I- */
OUString SAL_CALL OConnection::nativeSQL(const OUString& _sSql)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OConnection::nativeSQL");
MutexGuard aGuard(m_aMutex);
@@ -323,7 +323,7 @@ OUString SAL_CALL OConnection::nativeSQL(const OUString& _sSql)
/* {{{ OConnection::setAutoCommit() -I- */
void SAL_CALL OConnection::setAutoCommit(sal_Bool autoCommit)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OConnection::setAutoCommit");
MutexGuard aGuard(m_aMutex);
@@ -339,7 +339,7 @@ void SAL_CALL OConnection::setAutoCommit(sal_Bool autoCommit)
/* {{{ OConnection::getAutoCommit() -I- */
sal_Bool SAL_CALL OConnection::getAutoCommit()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OConnection::getAutoCommit");
// you have to distinguish which if you are in autocommit mode or not
@@ -361,7 +361,7 @@ sal_Bool SAL_CALL OConnection::getAutoCommit()
/* {{{ OConnection::commit() -I- */
void SAL_CALL OConnection::commit()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OConnection::commit");
MutexGuard aGuard(m_aMutex);
@@ -377,7 +377,7 @@ void SAL_CALL OConnection::commit()
/* {{{ OConnection::rollback() -I- */
void SAL_CALL OConnection::rollback()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OConnection::rollback");
MutexGuard aGuard(m_aMutex);
@@ -393,7 +393,7 @@ void SAL_CALL OConnection::rollback()
/* {{{ OConnection::isClosed() -I- */
sal_Bool SAL_CALL OConnection::isClosed()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OConnection::isClosed");
MutexGuard aGuard(m_aMutex);
@@ -406,7 +406,7 @@ sal_Bool SAL_CALL OConnection::isClosed()
/* {{{ OConnection::createStatement() -I- */
Reference< XDatabaseMetaData > SAL_CALL OConnection::getMetaData()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OConnection::getMetaData");
MutexGuard aGuard(m_aMutex);
@@ -429,7 +429,7 @@ Reference< XDatabaseMetaData > SAL_CALL OConnection::getMetaData()
/* {{{ OConnection::createStatement() -I- */
void SAL_CALL OConnection::setReadOnly(sal_Bool readOnly)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OConnection::setReadOnly");
MutexGuard aGuard(m_aMutex);
@@ -442,7 +442,7 @@ void SAL_CALL OConnection::setReadOnly(sal_Bool readOnly)
/* {{{ OConnection::createStatement() -I- */
sal_Bool SAL_CALL OConnection::isReadOnly()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OConnection::isReadOnly");
MutexGuard aGuard(m_aMutex);
@@ -456,7 +456,7 @@ sal_Bool SAL_CALL OConnection::isReadOnly()
/* {{{ OConnection::createStatement() -I- */
void SAL_CALL OConnection::setCatalog(const OUString& catalog)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OConnection::setCatalog");
MutexGuard aGuard(m_aMutex);
@@ -474,7 +474,7 @@ void SAL_CALL OConnection::setCatalog(const OUString& catalog)
/* {{{ OConnection::createStatement() -I- */
OUString SAL_CALL OConnection::getCatalog()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OConnection::getCatalog");
MutexGuard aGuard(m_aMutex);
@@ -493,7 +493,7 @@ OUString SAL_CALL OConnection::getCatalog()
/* {{{ OConnection::createStatement() -I- */
void SAL_CALL OConnection::setTransactionIsolation(sal_Int32 level)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OConnection::setTransactionIsolation");
MutexGuard aGuard(m_aMutex);
@@ -531,7 +531,7 @@ void SAL_CALL OConnection::setTransactionIsolation(sal_Int32 level)
/* {{{ OConnection::createStatement() -I- */
sal_Int32 SAL_CALL OConnection::getTransactionIsolation()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OConnection::getTransactionIsolation");
MutexGuard aGuard(m_aMutex);
@@ -556,7 +556,7 @@ sal_Int32 SAL_CALL OConnection::getTransactionIsolation()
/* {{{ OConnection::getTypeMap() -I- */
Reference<XNameAccess> SAL_CALL OConnection::getTypeMap()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OConnection::getTypeMap");
MutexGuard aGuard(m_aMutex);
@@ -573,7 +573,7 @@ Reference<XNameAccess> SAL_CALL OConnection::getTypeMap()
/* {{{ OConnection::setTypeMap() -I- */
void SAL_CALL OConnection::setTypeMap(const Reference<XNameAccess >& typeMap)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OConnection::setTypeMap");
MutexGuard aGuard(m_aMutex);
@@ -587,7 +587,7 @@ void SAL_CALL OConnection::setTypeMap(const Reference<XNameAccess >& typeMap)
// XCloseable
/* {{{ OConnection::close() -I- */
void SAL_CALL OConnection::close()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OConnection::close");
/*
@@ -607,7 +607,7 @@ void SAL_CALL OConnection::close()
// XWarningsSupplier
/* {{{ OConnection::getWarnings() -I- */
Any SAL_CALL OConnection::getWarnings()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
Any x = Any();
OSL_TRACE("OConnection::getWarnings");
@@ -619,7 +619,7 @@ Any SAL_CALL OConnection::getWarnings()
/* {{{ OConnection::clearWarnings() -I- */
void SAL_CALL OConnection::clearWarnings()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OConnection::clearWarnings");
// you should clear your collected warnings here#
diff --git a/mysqlc/source/mysqlc_connection.hxx b/mysqlc/source/mysqlc_connection.hxx
index aac93b26783b..41dedb0d25a2 100644
--- a/mysqlc/source/mysqlc_connection.hxx
+++ b/mysqlc/source/mysqlc_connection.hxx
@@ -148,78 +148,78 @@ namespace connectivity
// XServiceInfo
virtual OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException) SAL_OVERRIDE;
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService(
- OUString const & ServiceName) throw (css::uno::RuntimeException)
+ OUString const & ServiceName) throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE;
virtual css::uno::Sequence<OUString> SAL_CALL
- getSupportedServiceNames() throw (css::uno::RuntimeException)
+ getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE;
// XConnection
my_XStatementRef SAL_CALL createStatement()
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
my_XPreparedStatementRef SAL_CALL prepareStatement(const OUString& sql)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
my_XPreparedStatementRef SAL_CALL prepareCall(const OUString& sql)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
OUString SAL_CALL nativeSQL(const OUString& sql)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
void SAL_CALL setAutoCommit(sal_Bool autoCommit)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
sal_Bool SAL_CALL getAutoCommit()
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
void SAL_CALL commit()
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
void SAL_CALL rollback()
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
sal_Bool SAL_CALL isClosed()
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
my_XDatabaseMetaDataRef SAL_CALL getMetaData()
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
void SAL_CALL setReadOnly(sal_Bool readOnly)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
sal_Bool SAL_CALL isReadOnly()
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
void SAL_CALL setCatalog(const OUString& catalog)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
OUString SAL_CALL getCatalog()
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
void SAL_CALL setTransactionIsolation(sal_Int32 level)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
sal_Int32 SAL_CALL getTransactionIsolation()
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
my_XNameAccessRef SAL_CALL getTypeMap()
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
void SAL_CALL setTypeMap(const my_XNameAccessRef& typeMap)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
// XCloseable
void SAL_CALL close()
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
// XWarningsSupplier
::com::sun::star::uno::Any SAL_CALL getWarnings()
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
void SAL_CALL clearWarnings()
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
// TODO: Not used
//sal_Int32 sdbcColumnType(OUString typeName);
diff --git a/mysqlc/source/mysqlc_databasemetadata.cxx b/mysqlc/source/mysqlc_databasemetadata.cxx
index e19ab9fe9416..01cda36a9ec8 100644
--- a/mysqlc/source/mysqlc_databasemetadata.cxx
+++ b/mysqlc/source/mysqlc_databasemetadata.cxx
@@ -253,7 +253,7 @@ sal_Bool ODatabaseMetaData::impl_getRSTypeMetaData(const sal_Char* _methodName,
/* {{{ ODatabaseMetaData::getCatalogSeparator() -I- */
OUString SAL_CALL ODatabaseMetaData::getCatalogSeparator()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getCatalogSeparator", &sql::DatabaseMetaData::getCatalogSeparator);
}
@@ -262,7 +262,7 @@ OUString SAL_CALL ODatabaseMetaData::getCatalogSeparator()
/* {{{ ODatabaseMetaData::getMaxBinaryLiteralLength() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxBinaryLiteralLength()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxBinaryLiteralLength", &sql::DatabaseMetaData::getMaxBinaryLiteralLength);
}
@@ -271,7 +271,7 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getMaxBinaryLiteralLength()
/* {{{ ODatabaseMetaData::getMaxRowSize() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxRowSize()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxRowSize", &sql::DatabaseMetaData::getMaxRowSize);
}
@@ -280,7 +280,7 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getMaxRowSize()
/* {{{ ODatabaseMetaData::getMaxCatalogNameLength() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCatalogNameLength()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxCatalogNameLength", &sql::DatabaseMetaData::getMaxCatalogNameLength);
}
@@ -289,7 +289,7 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCatalogNameLength()
/* {{{ ODatabaseMetaData::getMaxCharLiteralLength() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCharLiteralLength()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxCharLiteralLength", &sql::DatabaseMetaData::getMaxCharLiteralLength);
}
@@ -298,7 +298,7 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCharLiteralLength()
/* {{{ ODatabaseMetaData::getMaxColumnNameLength() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnNameLength()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxColumnNameLength", &sql::DatabaseMetaData::getMaxColumnNameLength);
}
@@ -307,7 +307,7 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnNameLength()
/* {{{ ODatabaseMetaData::getMaxColumnsInIndex() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInIndex()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxColumnsInIndex", &sql::DatabaseMetaData::getMaxColumnsInIndex);
}
@@ -316,7 +316,7 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInIndex()
/* {{{ ODatabaseMetaData::getMaxCursorNameLength() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCursorNameLength()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxCursorNameLength", &sql::DatabaseMetaData::getMaxCursorNameLength);
}
@@ -325,7 +325,7 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCursorNameLength()
/* {{{ ODatabaseMetaData::getMaxConnections() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxConnections()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxConnections", &sql::DatabaseMetaData::getMaxConnections);
}
@@ -334,7 +334,7 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getMaxConnections()
/* {{{ ODatabaseMetaData::getMaxColumnsInTable() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInTable()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxColumnsInTable", &sql::DatabaseMetaData::getMaxColumnsInTable);
}
@@ -343,7 +343,7 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInTable()
/* {{{ ODatabaseMetaData::getMaxStatementLength() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxStatementLength()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxStatementLength", &sql::DatabaseMetaData::getMaxStatementLength);
}
@@ -352,7 +352,7 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getMaxStatementLength()
/* {{{ ODatabaseMetaData::getMaxTableNameLength() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxTableNameLength()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxTableNameLength", &sql::DatabaseMetaData::getMaxTableNameLength);
}
@@ -360,7 +360,7 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getMaxTableNameLength()
/* {{{ ODatabaseMetaData::getMaxTablesInSelect() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxTablesInSelect()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxTablesInSelect", &sql::DatabaseMetaData::getMaxTablesInSelect);
}
@@ -369,7 +369,7 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getMaxTablesInSelect()
/* {{{ ODatabaseMetaData::doesMaxRowSizeIncludeBlobs() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::doesMaxRowSizeIncludeBlobs()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("doesMaxRowSizeIncludeBlobs", &sql::DatabaseMetaData::doesMaxRowSizeIncludeBlobs);
}
@@ -378,7 +378,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::doesMaxRowSizeIncludeBlobs()
/* {{{ ODatabaseMetaData::storesLowerCaseQuotedIdentifiers() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::storesLowerCaseQuotedIdentifiers()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("storesLowerCaseQuotedIdentifiers", &sql::DatabaseMetaData::storesLowerCaseQuotedIdentifiers);
}
@@ -387,7 +387,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::storesLowerCaseQuotedIdentifiers()
/* {{{ ODatabaseMetaData::storesLowerCaseIdentifiers() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::storesLowerCaseIdentifiers()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("storesLowerCaseIdentifiers", &sql::DatabaseMetaData::storesLowerCaseIdentifiers);
}
@@ -396,7 +396,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::storesLowerCaseIdentifiers()
/* {{{ ODatabaseMetaData::storesMixedCaseQuotedIdentifiers() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::storesMixedCaseQuotedIdentifiers()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("storesMixedCaseQuotedIdentifiers", &sql::DatabaseMetaData::storesMixedCaseQuotedIdentifiers);
}
@@ -405,7 +405,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::storesMixedCaseQuotedIdentifiers()
/* {{{ ODatabaseMetaData::storesMixedCaseIdentifiers() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::storesMixedCaseIdentifiers()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("storesMixedCaseIdentifiers", &sql::DatabaseMetaData::storesMixedCaseIdentifiers);
}
@@ -414,7 +414,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::storesMixedCaseIdentifiers()
/* {{{ ODatabaseMetaData::storesUpperCaseQuotedIdentifiers() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::storesUpperCaseQuotedIdentifiers()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("storesUpperCaseQuotedIdentifiers", &sql::DatabaseMetaData::storesUpperCaseQuotedIdentifiers);
}
@@ -423,7 +423,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::storesUpperCaseQuotedIdentifiers()
/* {{{ ODatabaseMetaData::storesUpperCaseIdentifiers() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::storesUpperCaseIdentifiers()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("storesUpperCaseIdentifiers", &sql::DatabaseMetaData::storesUpperCaseIdentifiers);
}
@@ -432,7 +432,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::storesUpperCaseIdentifiers()
/* {{{ ODatabaseMetaData::supportsAlterTableWithAddColumn() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsAlterTableWithAddColumn()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsAlterTableWithAddColumn", &sql::DatabaseMetaData::supportsAlterTableWithAddColumn);
}
@@ -441,7 +441,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsAlterTableWithAddColumn()
/* {{{ ODatabaseMetaData::supportsAlterTableWithDropColumn() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsAlterTableWithDropColumn()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsAlterTableWithDropColumn", &sql::DatabaseMetaData::supportsAlterTableWithDropColumn);
}
@@ -450,7 +450,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsAlterTableWithDropColumn()
/* {{{ ODatabaseMetaData::getMaxIndexLength() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxIndexLength()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxIndexLength", &sql::DatabaseMetaData::getMaxIndexLength);
}
@@ -459,7 +459,7 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getMaxIndexLength()
/* {{{ ODatabaseMetaData::supportsNonNullableColumns() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsNonNullableColumns()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsNonNullableColumns", &sql::DatabaseMetaData::supportsNonNullableColumns);
}
@@ -468,7 +468,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsNonNullableColumns()
/* {{{ ODatabaseMetaData::getCatalogTerm() -I- */
OUString SAL_CALL ODatabaseMetaData::getCatalogTerm()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getCatalogTerm", &sql::DatabaseMetaData::getCatalogTerm);
}
@@ -477,7 +477,7 @@ OUString SAL_CALL ODatabaseMetaData::getCatalogTerm()
/* {{{ ODatabaseMetaData::getIdentifierQuoteString() -I- */
OUString SAL_CALL ODatabaseMetaData::getIdentifierQuoteString()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
if (identifier_quote_string_set == false) {
identifier_quote_string = impl_getStringMetaData("getIdentifierQuoteString", &sql::DatabaseMetaData::getIdentifierQuoteString);
@@ -490,7 +490,7 @@ OUString SAL_CALL ODatabaseMetaData::getIdentifierQuoteString()
/* {{{ ODatabaseMetaData::getExtraNameCharacters() -I- */
OUString SAL_CALL ODatabaseMetaData::getExtraNameCharacters()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getExtraNameCharacters", &sql::DatabaseMetaData::getExtraNameCharacters);
}
@@ -499,7 +499,7 @@ OUString SAL_CALL ODatabaseMetaData::getExtraNameCharacters()
/* {{{ ODatabaseMetaData::supportsDifferentTableCorrelationNames() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsDifferentTableCorrelationNames()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsDifferentTableCorrelationNames", &sql::DatabaseMetaData::supportsDifferentTableCorrelationNames);
}
@@ -508,7 +508,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsDifferentTableCorrelationNames()
/* {{{ ODatabaseMetaData::isCatalogAtStart() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::isCatalogAtStart()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("isCatalogAtStart", &sql::DatabaseMetaData::isCatalogAtStart);
}
@@ -517,7 +517,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::isCatalogAtStart()
/* {{{ ODatabaseMetaData::dataDefinitionIgnoredInTransactions() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::dataDefinitionIgnoredInTransactions()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("dataDefinitionIgnoredInTransactions", &sql::DatabaseMetaData::dataDefinitionIgnoredInTransactions);
}
@@ -526,7 +526,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::dataDefinitionIgnoredInTransactions()
/* {{{ ODatabaseMetaData::dataDefinitionCausesTransactionCommit() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::dataDefinitionCausesTransactionCommit()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("dataDefinitionCausesTransactionCommit", &sql::DatabaseMetaData::dataDefinitionCausesTransactionCommit);
}
@@ -535,7 +535,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::dataDefinitionCausesTransactionCommit()
/* {{{ ODatabaseMetaData::supportsDataManipulationTransactionsOnly() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsDataManipulationTransactionsOnly()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsDataManipulationTransactionsOnly", &sql::DatabaseMetaData::supportsDataManipulationTransactionsOnly);
}
@@ -544,7 +544,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsDataManipulationTransactionsOnly()
/* {{{ ODatabaseMetaData::supportsDataDefinitionAndDataManipulationTransactions() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsDataDefinitionAndDataManipulationTransactions()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsDataDefinitionAndDataManipulationTransactions", &sql::DatabaseMetaData::supportsDataDefinitionAndDataManipulationTransactions);
}
@@ -553,7 +553,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsDataDefinitionAndDataManipulationTr
/* {{{ ODatabaseMetaData::supportsPositionedDelete() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsPositionedDelete()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsPositionedDelete", &sql::DatabaseMetaData::supportsPositionedDelete);
}
@@ -562,7 +562,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsPositionedDelete()
/* {{{ ODatabaseMetaData::supportsPositionedUpdate() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsPositionedUpdate()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsPositionedUpdate", &sql::DatabaseMetaData::supportsPositionedUpdate);
}
@@ -571,7 +571,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsPositionedUpdate()
/* {{{ ODatabaseMetaData::supportsOpenStatementsAcrossRollback() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenStatementsAcrossRollback()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsOpenStatementsAcrossRollback", &sql::DatabaseMetaData::supportsOpenStatementsAcrossRollback);
}
@@ -580,7 +580,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenStatementsAcrossRollback()
/* {{{ ODatabaseMetaData::supportsOpenStatementsAcrossCommit() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenStatementsAcrossCommit()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsOpenStatementsAcrossCommit", &sql::DatabaseMetaData::supportsOpenStatementsAcrossCommit);
}
@@ -589,7 +589,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenStatementsAcrossCommit()
/* {{{ ODatabaseMetaData::supportsOpenCursorsAcrossCommit() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenCursorsAcrossCommit()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsOpenCursorsAcrossCommit", &sql::DatabaseMetaData::supportsOpenCursorsAcrossCommit);
}
@@ -598,7 +598,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenCursorsAcrossCommit()
/* {{{ ODatabaseMetaData::supportsOpenCursorsAcrossRollback() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenCursorsAcrossRollback()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsOpenCursorsAcrossRollback", &sql::DatabaseMetaData::supportsOpenCursorsAcrossRollback);
}
@@ -607,7 +607,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenCursorsAcrossRollback()
/* {{{ ODatabaseMetaData::supportsTransactionIsolationLevel() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsTransactionIsolationLevel(sal_Int32 level)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsTransactionIsolationLevel", &sql::DatabaseMetaData::supportsTransactionIsolationLevel, level);
}
@@ -616,7 +616,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsTransactionIsolationLevel(sal_Int32
/* {{{ ODatabaseMetaData::supportsSchemasInDataManipulation() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInDataManipulation()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSchemasInDataManipulation", &sql::DatabaseMetaData::supportsSchemasInDataManipulation);
}
@@ -625,7 +625,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInDataManipulation()
/* {{{ ODatabaseMetaData::supportsANSI92FullSQL() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92FullSQL()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsANSI92FullSQL", &sql::DatabaseMetaData::supportsANSI92FullSQL);
}
@@ -634,7 +634,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92FullSQL()
/* {{{ ODatabaseMetaData::supportsANSI92EntryLevelSQL() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92EntryLevelSQL()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsANSI92EntryLevelSQL", &sql::DatabaseMetaData::supportsANSI92EntryLevelSQL);
}
@@ -643,7 +643,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92EntryLevelSQL()
/* {{{ ODatabaseMetaData::supportsIntegrityEnhancementFacility() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsIntegrityEnhancementFacility()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsIntegrityEnhancementFacility", &sql::DatabaseMetaData::supportsIntegrityEnhancementFacility);
}
@@ -652,7 +652,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsIntegrityEnhancementFacility()
/* {{{ ODatabaseMetaData::supportsSchemasInIndexDefinitions() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInIndexDefinitions()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSchemasInIndexDefinitions", &sql::DatabaseMetaData::supportsSchemasInIndexDefinitions);
}
@@ -661,7 +661,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInIndexDefinitions()
/* {{{ ODatabaseMetaData::supportsSchemasInTableDefinitions() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInTableDefinitions()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSchemasInTableDefinitions", &sql::DatabaseMetaData::supportsSchemasInTableDefinitions);
}
@@ -670,7 +670,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInTableDefinitions()
/* {{{ ODatabaseMetaData::supportsCatalogsInTableDefinitions() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInTableDefinitions()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsCatalogsInTableDefinitions", &sql::DatabaseMetaData::supportsCatalogsInTableDefinitions);
}
@@ -679,7 +679,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInTableDefinitions()
/* {{{ ODatabaseMetaData::supportsCatalogsInIndexDefinitions() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInIndexDefinitions()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsCatalogsInIndexDefinitions", &sql::DatabaseMetaData::supportsCatalogsInIndexDefinitions);
}
@@ -688,7 +688,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInIndexDefinitions()
/* {{{ ODatabaseMetaData::supportsCatalogsInDataManipulation() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInDataManipulation()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsCatalogsInDataManipulation", &sql::DatabaseMetaData::supportsCatalogsInDataManipulation);
}
@@ -697,7 +697,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInDataManipulation()
/* {{{ ODatabaseMetaData::supportsOuterJoins() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsOuterJoins()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsOuterJoins", &sql::DatabaseMetaData::supportsOuterJoins);
}
@@ -706,7 +706,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsOuterJoins()
/* {{{ ODatabaseMetaData::getMaxStatements() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxStatements()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxStatements", &sql::DatabaseMetaData::getMaxStatements);
}
@@ -715,7 +715,7 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getMaxStatements()
/* {{{ ODatabaseMetaData::getMaxProcedureNameLength() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxProcedureNameLength()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxProcedureNameLength", &sql::DatabaseMetaData::getMaxProcedureNameLength);
}
@@ -724,7 +724,7 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getMaxProcedureNameLength()
/* {{{ ODatabaseMetaData::getMaxSchemaNameLength() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxSchemaNameLength()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxSchemaNameLength", &sql::DatabaseMetaData::getMaxSchemaNameLength);
}
@@ -733,7 +733,7 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getMaxSchemaNameLength()
/* {{{ ODatabaseMetaData::supportsTransactions() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsTransactions()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsTransactions", &sql::DatabaseMetaData::supportsTransactions);
}
@@ -742,7 +742,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsTransactions()
/* {{{ ODatabaseMetaData::allProceduresAreCallable() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::allProceduresAreCallable()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("allProceduresAreCallable", &sql::DatabaseMetaData::allProceduresAreCallable);
}
@@ -751,7 +751,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::allProceduresAreCallable()
/* {{{ ODatabaseMetaData::supportsStoredProcedures() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsStoredProcedures()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsStoredProcedures", &sql::DatabaseMetaData::supportsStoredProcedures);
}
@@ -760,7 +760,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsStoredProcedures()
/* {{{ ODatabaseMetaData::supportsSelectForUpdate() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsSelectForUpdate()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSelectForUpdate", &sql::DatabaseMetaData::supportsSelectForUpdate);
}
@@ -769,7 +769,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsSelectForUpdate()
/* {{{ ODatabaseMetaData::allTablesAreSelectable() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::allTablesAreSelectable()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("allTablesAreSelectable", &sql::DatabaseMetaData::allTablesAreSelectable);
}
@@ -778,7 +778,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::allTablesAreSelectable()
/* {{{ ODatabaseMetaData::isReadOnly() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::isReadOnly()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("isReadOnly", &sql::DatabaseMetaData::isReadOnly);
}
@@ -787,7 +787,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::isReadOnly()
/* {{{ ODatabaseMetaData::usesLocalFiles() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::usesLocalFiles()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("usesLocalFiles", &sql::DatabaseMetaData::usesLocalFiles);
}
@@ -796,7 +796,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::usesLocalFiles()
/* {{{ ODatabaseMetaData::usesLocalFilePerTable() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::usesLocalFilePerTable()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("usesLocalFilePerTable", &sql::DatabaseMetaData::usesLocalFilePerTable);
}
@@ -805,7 +805,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::usesLocalFilePerTable()
/* {{{ ODatabaseMetaData::supportsTypeConversion() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsTypeConversion()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsTypeConversion", &sql::DatabaseMetaData::supportsTypeConversion);
}
@@ -814,7 +814,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsTypeConversion()
/* {{{ ODatabaseMetaData::nullPlusNonNullIsNull() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::nullPlusNonNullIsNull()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("nullPlusNonNullIsNull", &sql::DatabaseMetaData::nullPlusNonNullIsNull);
}
@@ -823,7 +823,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::nullPlusNonNullIsNull()
/* {{{ ODatabaseMetaData::supportsColumnAliasing() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsColumnAliasing()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsColumnAliasing", &sql::DatabaseMetaData::supportsColumnAliasing);
}
@@ -832,7 +832,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsColumnAliasing()
/* {{{ ODatabaseMetaData::supportsTableCorrelationNames() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsTableCorrelationNames()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsTableCorrelationNames", &sql::DatabaseMetaData::supportsTableCorrelationNames);
}
@@ -841,7 +841,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsTableCorrelationNames()
/* {{{ ODatabaseMetaData::supportsConvert() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsConvert(sal_Int32 /* fromType */, sal_Int32 /* toType */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::supportsConvert");
try {
@@ -861,7 +861,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsConvert(sal_Int32 /* fromType */, s
/* {{{ ODatabaseMetaData::supportsExpressionsInOrderBy() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsExpressionsInOrderBy()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsExpressionsInOrderBy", &sql::DatabaseMetaData::supportsExpressionsInOrderBy);
}
@@ -870,7 +870,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsExpressionsInOrderBy()
/* {{{ ODatabaseMetaData::supportsGroupBy() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupBy()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsGroupBy", &sql::DatabaseMetaData::supportsGroupBy);
}
@@ -879,7 +879,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupBy()
/* {{{ ODatabaseMetaData::supportsGroupByBeyondSelect() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupByBeyondSelect()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsGroupByBeyondSelect", &sql::DatabaseMetaData::supportsGroupByBeyondSelect);
}
@@ -888,7 +888,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupByBeyondSelect()
/* {{{ ODatabaseMetaData::supportsGroupByUnrelated() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupByUnrelated()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsGroupByUnrelated", &sql::DatabaseMetaData::supportsGroupByUnrelated);
}
@@ -897,7 +897,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupByUnrelated()
/* {{{ ODatabaseMetaData::supportsMultipleTransactions() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsMultipleTransactions()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsMultipleTransactions", &sql::DatabaseMetaData::supportsMultipleTransactions);
}
@@ -906,7 +906,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsMultipleTransactions()
/* {{{ ODatabaseMetaData::supportsMultipleResultSets() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsMultipleResultSets()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsMultipleResultSets", &sql::DatabaseMetaData::supportsMultipleResultSets);
}
@@ -915,7 +915,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsMultipleResultSets()
/* {{{ ODatabaseMetaData::supportsLikeEscapeClause() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsLikeEscapeClause()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsLikeEscapeClause", &sql::DatabaseMetaData::supportsLikeEscapeClause);
}
@@ -924,7 +924,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsLikeEscapeClause()
/* {{{ ODatabaseMetaData::supportsOrderByUnrelated() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsOrderByUnrelated()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsOrderByUnrelated", &sql::DatabaseMetaData::supportsOrderByUnrelated);
}
@@ -933,7 +933,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsOrderByUnrelated()
/* {{{ ODatabaseMetaData::supportsUnion() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsUnion()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsUnion", &sql::DatabaseMetaData::supportsUnion);
}
@@ -942,7 +942,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsUnion()
/* {{{ ODatabaseMetaData::supportsUnionAll() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsUnionAll()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsUnionAll", &sql::DatabaseMetaData::supportsUnionAll);
}
@@ -951,7 +951,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsUnionAll()
/* {{{ ODatabaseMetaData::supportsMixedCaseIdentifiers() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsMixedCaseIdentifiers()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsMixedCaseIdentifiers", &sql::DatabaseMetaData::supportsMixedCaseIdentifiers);
}
@@ -960,7 +960,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsMixedCaseIdentifiers()
/* {{{ ODatabaseMetaData::supportsMixedCaseQuotedIdentifiers() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsMixedCaseQuotedIdentifiers()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsMixedCaseQuotedIdentifiers", &sql::DatabaseMetaData::supportsMixedCaseQuotedIdentifiers);
}
@@ -969,7 +969,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsMixedCaseQuotedIdentifiers()
/* {{{ ODatabaseMetaData::nullsAreSortedAtEnd() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedAtEnd()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("nullsAreSortedAtEnd", &sql::DatabaseMetaData::nullsAreSortedAtEnd);
}
@@ -978,7 +978,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedAtEnd()
/* {{{ ODatabaseMetaData::nullsAreSortedAtStart() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedAtStart()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("nullsAreSortedAtStart", &sql::DatabaseMetaData::nullsAreSortedAtStart);
}
@@ -987,7 +987,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedAtStart()
/* {{{ ODatabaseMetaData::nullsAreSortedHigh() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedHigh()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("nullsAreSortedHigh", &sql::DatabaseMetaData::nullsAreSortedHigh);
}
@@ -996,7 +996,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedHigh()
/* {{{ ODatabaseMetaData::nullsAreSortedLow() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedLow()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("nullsAreSortedLow", &sql::DatabaseMetaData::nullsAreSortedLow);
}
@@ -1005,7 +1005,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedLow()
/* {{{ ODatabaseMetaData::supportsSchemasInProcedureCalls() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInProcedureCalls()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSchemasInProcedureCalls", &sql::DatabaseMetaData::supportsSchemasInProcedureCalls);
}
@@ -1014,7 +1014,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInProcedureCalls()
/* {{{ ODatabaseMetaData::supportsSchemasInPrivilegeDefinitions() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInPrivilegeDefinitions()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSchemasInPrivilegeDefinitions", &sql::DatabaseMetaData::supportsSchemasInPrivilegeDefinitions);
}
@@ -1023,7 +1023,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInPrivilegeDefinitions()
/* {{{ ODatabaseMetaData::supportsCatalogsInProcedureCalls() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInProcedureCalls()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsCatalogsInProcedureCalls", &sql::DatabaseMetaData::supportsCatalogsInProcedureCalls);
}
@@ -1032,7 +1032,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInProcedureCalls()
/* {{{ ODatabaseMetaData::supportsCatalogsInPrivilegeDefinitions() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInPrivilegeDefinitions()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsCatalogsInPrivilegeDefinitions", &sql::DatabaseMetaData::supportsCatalogsInPrivilegeDefinitions);
}
@@ -1041,7 +1041,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInPrivilegeDefinitions()
/* {{{ ODatabaseMetaData::supportsCorrelatedSubqueries() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsCorrelatedSubqueries()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsCorrelatedSubqueries", &sql::DatabaseMetaData::supportsCorrelatedSubqueries);
}
@@ -1050,7 +1050,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsCorrelatedSubqueries()
/* {{{ ODatabaseMetaData::supportsSubqueriesInComparisons() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInComparisons()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSubqueriesInComparisons", &sql::DatabaseMetaData::supportsSubqueriesInComparisons);
}
@@ -1059,7 +1059,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInComparisons()
/* {{{ ODatabaseMetaData::supportsSubqueriesInExists() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInExists()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSubqueriesInExists", &sql::DatabaseMetaData::supportsSubqueriesInExists);
}
@@ -1068,7 +1068,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInExists()
/* {{{ ODatabaseMetaData::supportsSubqueriesInIns() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInIns()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSubqueriesInIns", &sql::DatabaseMetaData::supportsSubqueriesInIns);
}
@@ -1077,7 +1077,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInIns()
/* {{{ ODatabaseMetaData::supportsSubqueriesInQuantifieds() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInQuantifieds()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSubqueriesInQuantifieds", &sql::DatabaseMetaData::supportsSubqueriesInQuantifieds);
}
@@ -1086,7 +1086,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInQuantifieds()
/* {{{ ODatabaseMetaData::supportsANSI92IntermediateSQL() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92IntermediateSQL()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsANSI92IntermediateSQL", &sql::DatabaseMetaData::supportsANSI92IntermediateSQL);
}
@@ -1095,7 +1095,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92IntermediateSQL()
/* {{{ ODatabaseMetaData::getURL() -I- */
OUString SAL_CALL ODatabaseMetaData::getURL()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getURL");
return m_rConnection.getConnectionSettings().connectionURL;
@@ -1105,7 +1105,7 @@ OUString SAL_CALL ODatabaseMetaData::getURL()
/* {{{ ODatabaseMetaData::getUserName() -I- */
OUString SAL_CALL ODatabaseMetaData::getUserName()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getUserName", &sql::DatabaseMetaData::getUserName);
}
@@ -1114,7 +1114,7 @@ OUString SAL_CALL ODatabaseMetaData::getUserName()
/* {{{ ODatabaseMetaData::getDriverName() -I- */
OUString SAL_CALL ODatabaseMetaData::getDriverName()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getDriverName");
OUString aValue( "MySQL Connector/OO.org" );
@@ -1125,7 +1125,7 @@ OUString SAL_CALL ODatabaseMetaData::getDriverName()
/* {{{ ODatabaseMetaData::getDriverVersion() -I- */
OUString SAL_CALL ODatabaseMetaData::getDriverVersion()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getDriverVersion");
static const OUString sVersion( "0.9.2" );
@@ -1136,7 +1136,7 @@ OUString SAL_CALL ODatabaseMetaData::getDriverVersion()
/* {{{ ODatabaseMetaData::getDatabaseProductVersion() -I- */
OUString SAL_CALL ODatabaseMetaData::getDatabaseProductVersion()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getDatabaseProductVersion", &sql::DatabaseMetaData::getDatabaseProductVersion);
}
@@ -1145,7 +1145,7 @@ OUString SAL_CALL ODatabaseMetaData::getDatabaseProductVersion()
/* {{{ ODatabaseMetaData::getDatabaseProductName() -I- */
OUString SAL_CALL ODatabaseMetaData::getDatabaseProductName()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getDatabaseProductName", &sql::DatabaseMetaData::getDatabaseProductName);
}
@@ -1154,7 +1154,7 @@ OUString SAL_CALL ODatabaseMetaData::getDatabaseProductName()
/* {{{ ODatabaseMetaData::getProcedureTerm() -I- */
OUString SAL_CALL ODatabaseMetaData::getProcedureTerm()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getProcedureTerm", &sql::DatabaseMetaData::getProcedureTerm);
}
@@ -1163,7 +1163,7 @@ OUString SAL_CALL ODatabaseMetaData::getProcedureTerm()
/* {{{ ODatabaseMetaData::getSchemaTerm() -I- */
OUString SAL_CALL ODatabaseMetaData::getSchemaTerm()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getSchemaTerm", &sql::DatabaseMetaData::getSchemaTerm);
}
@@ -1172,7 +1172,7 @@ OUString SAL_CALL ODatabaseMetaData::getSchemaTerm()
/* {{{ ODatabaseMetaData::getDriverMajorVersion() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getDriverMajorVersion()
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getDriverMajorVersion");
return MARIADBC_VERSION_MAJOR;
@@ -1182,7 +1182,7 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getDriverMajorVersion()
/* {{{ ODatabaseMetaData::getDefaultTransactionIsolation() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getDefaultTransactionIsolation()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getDefaultTransactionIsolation");
try {
@@ -1206,7 +1206,7 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getDefaultTransactionIsolation()
/* {{{ ODatabaseMetaData::getDriverMinorVersion() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getDriverMinorVersion()
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getDriverMinorVersion");
return MARIADBC_VERSION_MINOR;
@@ -1216,7 +1216,7 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getDriverMinorVersion()
/* {{{ ODatabaseMetaData::getSQLKeywords() -I- */
OUString SAL_CALL ODatabaseMetaData::getSQLKeywords()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getSQLKeywords", &sql::DatabaseMetaData::getSQLKeywords);
}
@@ -1225,7 +1225,7 @@ OUString SAL_CALL ODatabaseMetaData::getSQLKeywords()
/* {{{ ODatabaseMetaData::getSearchStringEscape() -I- */
OUString SAL_CALL ODatabaseMetaData::getSearchStringEscape()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getSearchStringEscape", &sql::DatabaseMetaData::getSearchStringEscape);
}
@@ -1234,7 +1234,7 @@ OUString SAL_CALL ODatabaseMetaData::getSearchStringEscape()
/* {{{ ODatabaseMetaData::getStringFunctions() -I- */
OUString SAL_CALL ODatabaseMetaData::getStringFunctions()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getStringFunctions", &sql::DatabaseMetaData::getStringFunctions);
}
@@ -1243,7 +1243,7 @@ OUString SAL_CALL ODatabaseMetaData::getStringFunctions()
/* {{{ ODatabaseMetaData::getTimeDateFunctions() -I- */
OUString SAL_CALL ODatabaseMetaData::getTimeDateFunctions()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getTimeDateFunctions", &sql::DatabaseMetaData::getTimeDateFunctions);
}
@@ -1252,7 +1252,7 @@ OUString SAL_CALL ODatabaseMetaData::getTimeDateFunctions()
/* {{{ ODatabaseMetaData::getSystemFunctions() -I- */
OUString SAL_CALL ODatabaseMetaData::getSystemFunctions()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getSystemFunctions", &sql::DatabaseMetaData::getSystemFunctions);
}
@@ -1261,7 +1261,7 @@ OUString SAL_CALL ODatabaseMetaData::getSystemFunctions()
/* {{{ ODatabaseMetaData::getNumericFunctions() -I- */
OUString SAL_CALL ODatabaseMetaData::getNumericFunctions()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getNumericFunctions", &sql::DatabaseMetaData::getNumericFunctions);
}
@@ -1270,7 +1270,7 @@ OUString SAL_CALL ODatabaseMetaData::getNumericFunctions()
/* {{{ ODatabaseMetaData::supportsExtendedSQLGrammar() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsExtendedSQLGrammar()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsExtendedSQLGrammar", &sql::DatabaseMetaData::supportsExtendedSQLGrammar);
}
@@ -1279,7 +1279,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsExtendedSQLGrammar()
/* {{{ ODatabaseMetaData::supportsCoreSQLGrammar() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsCoreSQLGrammar()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsCoreSQLGrammar", &sql::DatabaseMetaData::supportsCoreSQLGrammar);
}
@@ -1288,7 +1288,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsCoreSQLGrammar()
/* {{{ ODatabaseMetaData::supportsMinimumSQLGrammar() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsMinimumSQLGrammar()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsMinimumSQLGrammar", &sql::DatabaseMetaData::supportsMinimumSQLGrammar);
}
@@ -1297,7 +1297,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsMinimumSQLGrammar()
/* {{{ ODatabaseMetaData::supportsFullOuterJoins() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsFullOuterJoins()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsFullOuterJoins", &sql::DatabaseMetaData::supportsFullOuterJoins);
}
@@ -1306,7 +1306,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsFullOuterJoins()
/* {{{ ODatabaseMetaData::supportsLimitedOuterJoins() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsLimitedOuterJoins()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsLimitedOuterJoins", &sql::DatabaseMetaData::supportsLimitedOuterJoins);
}
@@ -1315,7 +1315,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsLimitedOuterJoins()
/* {{{ ODatabaseMetaData::getMaxColumnsInGroupBy() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInGroupBy()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxColumnsInGroupBy", &sql::DatabaseMetaData::getMaxColumnsInGroupBy);
}
@@ -1324,7 +1324,7 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInGroupBy()
/* {{{ ODatabaseMetaData::getMaxColumnsInOrderBy() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInOrderBy()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxColumnsInOrderBy", &sql::DatabaseMetaData::getMaxColumnsInOrderBy);
}
@@ -1333,7 +1333,7 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInOrderBy()
/* {{{ ODatabaseMetaData::getMaxColumnsInSelect() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInSelect()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxColumnsInSelect", &sql::DatabaseMetaData::getMaxColumnsInSelect);
}
@@ -1342,7 +1342,7 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInSelect()
/* {{{ ODatabaseMetaData::getMaxUserNameLength() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxUserNameLength()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxUserNameLength", &sql::DatabaseMetaData::getMaxUserNameLength);
}
@@ -1351,7 +1351,7 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getMaxUserNameLength()
/* {{{ ODatabaseMetaData::supportsResultSetType() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsResultSetType(sal_Int32 setType)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("supportsResultSetType", &sql::DatabaseMetaData::supportsResultSetType, setType);
}
@@ -1360,7 +1360,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsResultSetType(sal_Int32 setType)
/* {{{ ODatabaseMetaData::supportsResultSetConcurrency() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsResultSetConcurrency(sal_Int32 setType, sal_Int32 concurrency)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::supportsResultSetConcurrency");
/* TODO: Check this out */
@@ -1383,7 +1383,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsResultSetConcurrency(sal_Int32 setT
/* {{{ ODatabaseMetaData::ownUpdatesAreVisible() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::ownUpdatesAreVisible(sal_Int32 setType)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("ownUpdatesAreVisible", &sql::DatabaseMetaData::ownUpdatesAreVisible, setType);
}
@@ -1392,7 +1392,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::ownUpdatesAreVisible(sal_Int32 setType)
/* {{{ ODatabaseMetaData::ownDeletesAreVisible() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::ownDeletesAreVisible(sal_Int32 setType)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("ownDeletesAreVisible", &sql::DatabaseMetaData::ownDeletesAreVisible, setType);
}
@@ -1401,7 +1401,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::ownDeletesAreVisible(sal_Int32 setType)
/* {{{ ODatabaseMetaData::ownInsertsAreVisible() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::ownInsertsAreVisible(sal_Int32 setType)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("ownInsertsAreVisible", &sql::DatabaseMetaData::ownInsertsAreVisible, setType);
}
@@ -1410,7 +1410,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::ownInsertsAreVisible(sal_Int32 setType)
/* {{{ ODatabaseMetaData::othersUpdatesAreVisible() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::othersUpdatesAreVisible(sal_Int32 setType)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("othersUpdatesAreVisible", &sql::DatabaseMetaData::othersUpdatesAreVisible, setType);
}
@@ -1419,7 +1419,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::othersUpdatesAreVisible(sal_Int32 setType)
/* {{{ ODatabaseMetaData::othersDeletesAreVisible() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::othersDeletesAreVisible(sal_Int32 setType)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("othersDeletesAreVisible", &sql::DatabaseMetaData::othersDeletesAreVisible, setType);
}
@@ -1428,7 +1428,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::othersDeletesAreVisible(sal_Int32 setType)
/* {{{ ODatabaseMetaData::othersInsertsAreVisible() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::othersInsertsAreVisible(sal_Int32 setType)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("othersInsertsAreVisible", &sql::DatabaseMetaData::othersInsertsAreVisible, setType);
}
@@ -1437,7 +1437,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::othersInsertsAreVisible(sal_Int32 setType)
/* {{{ ODatabaseMetaData::updatesAreDetected() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::updatesAreDetected(sal_Int32 setType)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("updatesAreDetected", &sql::DatabaseMetaData::updatesAreDetected, setType);
}
@@ -1446,7 +1446,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::updatesAreDetected(sal_Int32 setType)
/* {{{ ODatabaseMetaData::deletesAreDetected() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::deletesAreDetected(sal_Int32 setType)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("deletesAreDetected", &sql::DatabaseMetaData::deletesAreDetected, setType);
}
@@ -1455,7 +1455,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::deletesAreDetected(sal_Int32 setType)
/* {{{ ODatabaseMetaData::insertsAreDetected() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::insertsAreDetected(sal_Int32 setType)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("insertsAreDetected", &sql::DatabaseMetaData::insertsAreDetected, setType);
}
@@ -1464,7 +1464,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::insertsAreDetected(sal_Int32 setType)
/* {{{ ODatabaseMetaData::supportsBatchUpdates() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsBatchUpdates()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsBatchUpdates", &sql::DatabaseMetaData::supportsBatchUpdates);
}
@@ -1473,7 +1473,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsBatchUpdates()
/* {{{ ODatabaseMetaData::getConnection() -I- */
Reference< XConnection > SAL_CALL ODatabaseMetaData::getConnection()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getConnection");
return (Reference< XConnection >)&m_rConnection;
@@ -1490,7 +1490,7 @@ Reference< XConnection > SAL_CALL ODatabaseMetaData::getConnection()
/* {{{ ODatabaseMetaData::getTableTypes() -I- */
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTableTypes()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getTableTypes");
const char * table_types[] = {"TABLE", "VIEW"};
@@ -1515,7 +1515,7 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTableTypes()
/* {{{ ODatabaseMetaData::getTypeInfo() -I- */
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTypeInfo()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getTypeInfo");
Reference< XResultSet > xResultSet(getOwnConnection().getDriver().getFactory()->createInstance("org.openoffice.comp.helper.DatabaseMetaDataResultSet"),UNO_QUERY);
@@ -1558,7 +1558,7 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTypeInfo()
/* {{{ ODatabaseMetaData::getCatalogs() -I- */
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getCatalogs()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getCatalogs");
@@ -1593,7 +1593,7 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getCatalogs()
/* {{{ ODatabaseMetaData::getSchemas() -I- */
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getSchemas()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getSchemas");
@@ -1639,7 +1639,7 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumnPrivileges(
const OUString& schema,
const OUString& table,
const OUString& columnNamePattern)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getColumnPrivileges");
Reference< XResultSet > xResultSet(getOwnConnection().getDriver().getFactory()->createInstance("org.openoffice.comp.helper.DatabaseMetaDataResultSet"),UNO_QUERY);
@@ -1682,7 +1682,7 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumns(
const OUString& schemaPattern,
const OUString& tableNamePattern,
const OUString& columnNamePattern)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getColumns");
Reference< XResultSet > xResultSet(getOwnConnection().getDriver().getFactory()->createInstance("org.openoffice.comp.helper.DatabaseMetaDataResultSet"),UNO_QUERY);
@@ -1731,7 +1731,7 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTables(
const OUString& schemaPattern,
const OUString& tableNamePattern,
const Sequence< OUString >& types )
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getTables");
sal_Int32 nLength = types.getLength();
@@ -1793,7 +1793,7 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getProcedureColumns(
const OUString& /* schemaPattern */,
const OUString& /* procedureNamePattern */,
const OUString& /* columnNamePattern */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getProcedureColumns");
// Currently there is no information available
@@ -1807,7 +1807,7 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getProcedures(
const Any& catalog,
const OUString& schemaPattern,
const OUString& procedureNamePattern)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getProcedures");
Reference< XResultSet > xResultSet(getOwnConnection().getDriver().getFactory()->createInstance("org.openoffice.comp.helper.DatabaseMetaDataResultSet"),UNO_QUERY);
@@ -1852,7 +1852,7 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getVersionColumns(
const Any& /* catalog */,
const OUString& /* schema */,
const OUString& /* table */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getVersionColumns");
Reference< XResultSet > xResultSet(getOwnConnection().getDriver().getFactory()->createInstance("org.openoffice.comp.helper.DatabaseMetaDataResultSet"),UNO_QUERY);
@@ -1868,7 +1868,7 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getExportedKeys(
const Any& catalog ,
const OUString& schema ,
const OUString& table )
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getExportedKeys");
Reference< XResultSet > xResultSet(getOwnConnection().getDriver().getFactory()->createInstance("org.openoffice.comp.helper.DatabaseMetaDataResultSet"),UNO_QUERY);
@@ -1908,7 +1908,7 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getImportedKeys(
const Any& catalog,
const OUString& schema,
const OUString& table)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getImportedKeys");
@@ -1950,7 +1950,7 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getPrimaryKeys(
const Any& catalog,
const OUString& schema,
const OUString& table)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getPrimaryKeys");
Reference< XResultSet > xResultSet(getOwnConnection().getDriver().getFactory()->createInstance("org.openoffice.comp.helper.DatabaseMetaDataResultSet"),UNO_QUERY);
@@ -1993,7 +1993,7 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getIndexInfo(
const OUString& table,
sal_Bool unique,
sal_Bool approximate)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getIndexInfo");
Reference< XResultSet > xResultSet(getOwnConnection().getDriver().getFactory()->createInstance("org.openoffice.comp.helper.DatabaseMetaDataResultSet"),UNO_QUERY);
@@ -2036,7 +2036,7 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getBestRowIdentifier(
const OUString& table,
sal_Int32 scope,
sal_Bool nullable)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getBestRowIdentifier");
Reference< XResultSet > xResultSet(getOwnConnection().getDriver().getFactory()->createInstance("org.openoffice.comp.helper.DatabaseMetaDataResultSet"),UNO_QUERY);
@@ -2077,7 +2077,7 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTablePrivileges(
const Any& catalog,
const OUString& schemaPattern,
const OUString& tableNamePattern)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getTablePrivileges");
Reference< XResultSet > xResultSet(getOwnConnection().getDriver().getFactory()->createInstance("org.openoffice.comp.helper.DatabaseMetaDataResultSet"),UNO_QUERY);
@@ -2142,7 +2142,7 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getCrossReference(
const Any& foreignCatalog,
const OUString& foreignSchema,
const OUString& foreignTable)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getCrossReference");
Reference< XResultSet > xResultSet(getOwnConnection().getDriver().getFactory()->createInstance("org.openoffice.comp.helper.DatabaseMetaDataResultSet"),UNO_QUERY);
@@ -2187,7 +2187,7 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getUDTs(
const OUString& /* schemaPattern */,
const OUString& /* typeNamePattern */,
const Sequence< sal_Int32 >& /* types */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getUDTs");
mysqlc_sdbc_driver::throwFeatureNotImplementedException("ODatabaseMetaData::getUDTs", *this);
diff --git a/mysqlc/source/mysqlc_databasemetadata.hxx b/mysqlc/source/mysqlc_databasemetadata.hxx
index f96f1421760d..a6ec2b3b4c97 100644
--- a/mysqlc/source/mysqlc_databasemetadata.hxx
+++ b/mysqlc/source/mysqlc_databasemetadata.hxx
@@ -69,158 +69,158 @@ namespace connectivity
// as I mentioned before this interface is really BIG
// XDatabaseMetaData
- sal_Bool SAL_CALL allProceduresAreCallable() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL allTablesAreSelectable() throw(my_SQLException, my_RuntimeException);
- OUString SAL_CALL getURL() throw(my_SQLException, my_RuntimeException);
- OUString SAL_CALL getUserName() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL isReadOnly() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL nullsAreSortedHigh() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL nullsAreSortedLow() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL nullsAreSortedAtStart() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL nullsAreSortedAtEnd() throw(my_SQLException, my_RuntimeException);
- OUString SAL_CALL getDatabaseProductName() throw(my_SQLException, my_RuntimeException);
- OUString SAL_CALL getDatabaseProductVersion() throw(my_SQLException, my_RuntimeException);
- OUString SAL_CALL getDriverName() throw(my_SQLException, my_RuntimeException);
- OUString SAL_CALL getDriverVersion() throw(my_SQLException, my_RuntimeException);
- sal_Int32 SAL_CALL getDriverMajorVersion() throw(my_RuntimeException);
- sal_Int32 SAL_CALL getDriverMinorVersion() throw(my_RuntimeException);
- sal_Bool SAL_CALL usesLocalFiles() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL usesLocalFilePerTable() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsMixedCaseIdentifiers() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL storesUpperCaseIdentifiers() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL storesLowerCaseIdentifiers() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL storesMixedCaseIdentifiers() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsMixedCaseQuotedIdentifiers() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL storesUpperCaseQuotedIdentifiers() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL storesLowerCaseQuotedIdentifiers() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL storesMixedCaseQuotedIdentifiers() throw(my_SQLException, my_RuntimeException);
- OUString SAL_CALL getIdentifierQuoteString() throw(my_SQLException, my_RuntimeException);
- OUString SAL_CALL getSQLKeywords() throw(my_SQLException, my_RuntimeException);
- OUString SAL_CALL getNumericFunctions() throw(my_SQLException, my_RuntimeException);
- OUString SAL_CALL getStringFunctions() throw(my_SQLException, my_RuntimeException);
- OUString SAL_CALL getSystemFunctions() throw(my_SQLException, my_RuntimeException);
- OUString SAL_CALL getTimeDateFunctions() throw(my_SQLException, my_RuntimeException);
- OUString SAL_CALL getSearchStringEscape() throw(my_SQLException, my_RuntimeException);
- OUString SAL_CALL getExtraNameCharacters() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsAlterTableWithAddColumn() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsAlterTableWithDropColumn() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsColumnAliasing() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL nullPlusNonNullIsNull() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsTypeConversion() throw(my_SQLException, my_RuntimeException);
+ sal_Bool SAL_CALL allProceduresAreCallable() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL allTablesAreSelectable() throw(my_SQLException, my_RuntimeException, std::exception);
+ OUString SAL_CALL getURL() throw(my_SQLException, my_RuntimeException, std::exception);
+ OUString SAL_CALL getUserName() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL isReadOnly() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL nullsAreSortedHigh() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL nullsAreSortedLow() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL nullsAreSortedAtStart() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL nullsAreSortedAtEnd() throw(my_SQLException, my_RuntimeException, std::exception);
+ OUString SAL_CALL getDatabaseProductName() throw(my_SQLException, my_RuntimeException, std::exception);
+ OUString SAL_CALL getDatabaseProductVersion() throw(my_SQLException, my_RuntimeException, std::exception);
+ OUString SAL_CALL getDriverName() throw(my_SQLException, my_RuntimeException, std::exception);
+ OUString SAL_CALL getDriverVersion() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Int32 SAL_CALL getDriverMajorVersion() throw(my_RuntimeException, std::exception);
+ sal_Int32 SAL_CALL getDriverMinorVersion() throw(my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL usesLocalFiles() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL usesLocalFilePerTable() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsMixedCaseIdentifiers() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL storesUpperCaseIdentifiers() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL storesLowerCaseIdentifiers() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL storesMixedCaseIdentifiers() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsMixedCaseQuotedIdentifiers() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL storesUpperCaseQuotedIdentifiers() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL storesLowerCaseQuotedIdentifiers() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL storesMixedCaseQuotedIdentifiers() throw(my_SQLException, my_RuntimeException, std::exception);
+ OUString SAL_CALL getIdentifierQuoteString() throw(my_SQLException, my_RuntimeException, std::exception);
+ OUString SAL_CALL getSQLKeywords() throw(my_SQLException, my_RuntimeException, std::exception);
+ OUString SAL_CALL getNumericFunctions() throw(my_SQLException, my_RuntimeException, std::exception);
+ OUString SAL_CALL getStringFunctions() throw(my_SQLException, my_RuntimeException, std::exception);
+ OUString SAL_CALL getSystemFunctions() throw(my_SQLException, my_RuntimeException, std::exception);
+ OUString SAL_CALL getTimeDateFunctions() throw(my_SQLException, my_RuntimeException, std::exception);
+ OUString SAL_CALL getSearchStringEscape() throw(my_SQLException, my_RuntimeException, std::exception);
+ OUString SAL_CALL getExtraNameCharacters() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsAlterTableWithAddColumn() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsAlterTableWithDropColumn() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsColumnAliasing() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL nullPlusNonNullIsNull() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsTypeConversion() throw(my_SQLException, my_RuntimeException, std::exception);
sal_Bool SAL_CALL supportsConvert(sal_Int32 fromType, sal_Int32 toType)
- throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsTableCorrelationNames() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsDifferentTableCorrelationNames() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsExpressionsInOrderBy() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsOrderByUnrelated() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsGroupBy() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsGroupByUnrelated() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsGroupByBeyondSelect() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsLikeEscapeClause() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsMultipleResultSets() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsMultipleTransactions() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsNonNullableColumns() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsMinimumSQLGrammar() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsCoreSQLGrammar() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsExtendedSQLGrammar() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsANSI92EntryLevelSQL() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsANSI92IntermediateSQL() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsANSI92FullSQL() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsIntegrityEnhancementFacility()throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsOuterJoins() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsFullOuterJoins() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsLimitedOuterJoins() throw(my_SQLException, my_RuntimeException);
- OUString SAL_CALL getSchemaTerm() throw(my_SQLException, my_RuntimeException);
- OUString SAL_CALL getProcedureTerm() throw(my_SQLException, my_RuntimeException);
- OUString SAL_CALL getCatalogTerm() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL isCatalogAtStart() throw(my_SQLException, my_RuntimeException);
- OUString SAL_CALL getCatalogSeparator() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsSchemasInDataManipulation() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsSchemasInProcedureCalls() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsSchemasInTableDefinitions() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsSchemasInIndexDefinitions() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsSchemasInPrivilegeDefinitions() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsCatalogsInDataManipulation() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsCatalogsInProcedureCalls() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsCatalogsInTableDefinitions() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsCatalogsInIndexDefinitions() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsCatalogsInPrivilegeDefinitions() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsPositionedDelete() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsPositionedUpdate() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsSelectForUpdate() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsStoredProcedures() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsSubqueriesInComparisons() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsSubqueriesInExists() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsSubqueriesInIns() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsSubqueriesInQuantifieds() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsCorrelatedSubqueries() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsUnion() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsUnionAll() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsOpenCursorsAcrossCommit() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsOpenCursorsAcrossRollback() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsOpenStatementsAcrossCommit() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsOpenStatementsAcrossRollback() throw(my_SQLException, my_RuntimeException);
- sal_Int32 SAL_CALL getMaxBinaryLiteralLength() throw(my_SQLException, my_RuntimeException);
- sal_Int32 SAL_CALL getMaxCharLiteralLength() throw(my_SQLException, my_RuntimeException);
- sal_Int32 SAL_CALL getMaxColumnNameLength() throw(my_SQLException, my_RuntimeException);
- sal_Int32 SAL_CALL getMaxColumnsInGroupBy() throw(my_SQLException, my_RuntimeException);
- sal_Int32 SAL_CALL getMaxColumnsInIndex() throw(my_SQLException, my_RuntimeException);
- sal_Int32 SAL_CALL getMaxColumnsInOrderBy() throw(my_SQLException, my_RuntimeException);
- sal_Int32 SAL_CALL getMaxColumnsInSelect() throw(my_SQLException, my_RuntimeException);
- sal_Int32 SAL_CALL getMaxColumnsInTable() throw(my_SQLException, my_RuntimeException);
- sal_Int32 SAL_CALL getMaxConnections() throw(my_SQLException, my_RuntimeException);
- sal_Int32 SAL_CALL getMaxCursorNameLength() throw(my_SQLException, my_RuntimeException);
- sal_Int32 SAL_CALL getMaxIndexLength() throw(my_SQLException, my_RuntimeException);
- sal_Int32 SAL_CALL getMaxSchemaNameLength() throw(my_SQLException, my_RuntimeException);
- sal_Int32 SAL_CALL getMaxProcedureNameLength() throw(my_SQLException, my_RuntimeException);
- sal_Int32 SAL_CALL getMaxCatalogNameLength() throw(my_SQLException, my_RuntimeException);
- sal_Int32 SAL_CALL getMaxRowSize() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL doesMaxRowSizeIncludeBlobs() throw(my_SQLException, my_RuntimeException);
- sal_Int32 SAL_CALL getMaxStatementLength() throw(my_SQLException, my_RuntimeException);
- sal_Int32 SAL_CALL getMaxStatements() throw(my_SQLException, my_RuntimeException);
- sal_Int32 SAL_CALL getMaxTableNameLength() throw(my_SQLException, my_RuntimeException);
- sal_Int32 SAL_CALL getMaxTablesInSelect() throw(my_SQLException, my_RuntimeException);
- sal_Int32 SAL_CALL getMaxUserNameLength() throw(my_SQLException, my_RuntimeException);
- sal_Int32 SAL_CALL getDefaultTransactionIsolation() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsTransactions() throw(my_SQLException, my_RuntimeException);
+ throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsTableCorrelationNames() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsDifferentTableCorrelationNames() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsExpressionsInOrderBy() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsOrderByUnrelated() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsGroupBy() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsGroupByUnrelated() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsGroupByBeyondSelect() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsLikeEscapeClause() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsMultipleResultSets() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsMultipleTransactions() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsNonNullableColumns() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsMinimumSQLGrammar() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsCoreSQLGrammar() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsExtendedSQLGrammar() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsANSI92EntryLevelSQL() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsANSI92IntermediateSQL() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsANSI92FullSQL() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsIntegrityEnhancementFacility()throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsOuterJoins() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsFullOuterJoins() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsLimitedOuterJoins() throw(my_SQLException, my_RuntimeException, std::exception);
+ OUString SAL_CALL getSchemaTerm() throw(my_SQLException, my_RuntimeException, std::exception);
+ OUString SAL_CALL getProcedureTerm() throw(my_SQLException, my_RuntimeException, std::exception);
+ OUString SAL_CALL getCatalogTerm() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL isCatalogAtStart() throw(my_SQLException, my_RuntimeException, std::exception);
+ OUString SAL_CALL getCatalogSeparator() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsSchemasInDataManipulation() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsSchemasInProcedureCalls() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsSchemasInTableDefinitions() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsSchemasInIndexDefinitions() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsSchemasInPrivilegeDefinitions() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsCatalogsInDataManipulation() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsCatalogsInProcedureCalls() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsCatalogsInTableDefinitions() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsCatalogsInIndexDefinitions() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsCatalogsInPrivilegeDefinitions() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsPositionedDelete() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsPositionedUpdate() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsSelectForUpdate() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsStoredProcedures() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsSubqueriesInComparisons() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsSubqueriesInExists() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsSubqueriesInIns() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsSubqueriesInQuantifieds() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsCorrelatedSubqueries() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsUnion() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsUnionAll() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsOpenCursorsAcrossCommit() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsOpenCursorsAcrossRollback() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsOpenStatementsAcrossCommit() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsOpenStatementsAcrossRollback() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Int32 SAL_CALL getMaxBinaryLiteralLength() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Int32 SAL_CALL getMaxCharLiteralLength() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Int32 SAL_CALL getMaxColumnNameLength() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Int32 SAL_CALL getMaxColumnsInGroupBy() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Int32 SAL_CALL getMaxColumnsInIndex() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Int32 SAL_CALL getMaxColumnsInOrderBy() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Int32 SAL_CALL getMaxColumnsInSelect() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Int32 SAL_CALL getMaxColumnsInTable() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Int32 SAL_CALL getMaxConnections() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Int32 SAL_CALL getMaxCursorNameLength() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Int32 SAL_CALL getMaxIndexLength() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Int32 SAL_CALL getMaxSchemaNameLength() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Int32 SAL_CALL getMaxProcedureNameLength() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Int32 SAL_CALL getMaxCatalogNameLength() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Int32 SAL_CALL getMaxRowSize() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL doesMaxRowSizeIncludeBlobs() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Int32 SAL_CALL getMaxStatementLength() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Int32 SAL_CALL getMaxStatements() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Int32 SAL_CALL getMaxTableNameLength() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Int32 SAL_CALL getMaxTablesInSelect() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Int32 SAL_CALL getMaxUserNameLength() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Int32 SAL_CALL getDefaultTransactionIsolation() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsTransactions() throw(my_SQLException, my_RuntimeException, std::exception);
sal_Bool SAL_CALL supportsTransactionIsolationLevel(sal_Int32 level)
- throw(my_SQLException, my_RuntimeException);
+ throw(my_SQLException, my_RuntimeException, std::exception);
sal_Bool SAL_CALL supportsDataDefinitionAndDataManipulationTransactions()
- throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsDataManipulationTransactionsOnly()throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL dataDefinitionCausesTransactionCommit() throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL dataDefinitionIgnoredInTransactions() throw(my_SQLException, my_RuntimeException);
- my_XResultSetRef SAL_CALL getProcedures(const Any& catalog, const OUString& schemaPattern, const OUString& procedureNamePattern) throw(my_SQLException, my_RuntimeException);
- my_XResultSetRef SAL_CALL getProcedureColumns(const Any& catalog, const OUString& schemaPattern, const OUString& procedureNamePattern, const OUString& columnNamePattern) throw(my_SQLException, my_RuntimeException);
- my_XResultSetRef SAL_CALL getTables(const Any& catalog, const OUString& schemaPattern, const OUString& tableNamePattern, const ::com::sun::star::uno::Sequence< OUString >& types) throw(my_SQLException, my_RuntimeException);
- my_XResultSetRef SAL_CALL getSchemas() throw(my_SQLException, my_RuntimeException);
- my_XResultSetRef SAL_CALL getCatalogs() throw(my_SQLException, my_RuntimeException);
- my_XResultSetRef SAL_CALL getTableTypes() throw(my_SQLException, my_RuntimeException);
- my_XResultSetRef SAL_CALL getColumns(const Any& catalog, const OUString& schemaPattern, const OUString& tableNamePattern, const OUString& columnNamePattern) throw(my_SQLException, my_RuntimeException);
- my_XResultSetRef SAL_CALL getColumnPrivileges(const Any& catalog, const OUString& schema, const OUString& table, const OUString& columnNamePattern) throw(my_SQLException, my_RuntimeException);
- my_XResultSetRef SAL_CALL getTablePrivileges(const Any& catalog, const OUString& schemaPattern, const OUString& tableNamePattern) throw(my_SQLException, my_RuntimeException);
- my_XResultSetRef SAL_CALL getBestRowIdentifier(const Any& catalog, const OUString& schema, const OUString& table, sal_Int32 scope, sal_Bool nullable) throw(my_SQLException, my_RuntimeException);
- my_XResultSetRef SAL_CALL getVersionColumns(const Any& catalog, const OUString& schema, const OUString& table) throw(my_SQLException, my_RuntimeException);
- my_XResultSetRef SAL_CALL getPrimaryKeys(const Any& catalog, const OUString& schema, const OUString& table) throw(my_SQLException, my_RuntimeException);
- my_XResultSetRef SAL_CALL getImportedKeys(const Any& catalog, const OUString& schema, const OUString& table) throw(my_SQLException, my_RuntimeException);
- my_XResultSetRef SAL_CALL getExportedKeys(const Any& catalog, const OUString& schema, const OUString& table) throw(my_SQLException, my_RuntimeException);
- my_XResultSetRef SAL_CALL getCrossReference(const Any& primaryCatalog, const OUString& primarySchema, const OUString& primaryTable, const Any& foreignCatalog, const OUString& foreignSchema, const OUString& foreignTable) throw(my_SQLException, my_RuntimeException);
- my_XResultSetRef SAL_CALL getTypeInfo() throw(my_SQLException, my_RuntimeException);
- my_XResultSetRef SAL_CALL getIndexInfo(const Any& catalog, const OUString& schema, const OUString& table, sal_Bool unique, sal_Bool approximate) throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsResultSetType(sal_Int32 setType) throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsResultSetConcurrency(sal_Int32 setType, sal_Int32 concurrency) throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL ownUpdatesAreVisible(sal_Int32 setType) throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL ownDeletesAreVisible(sal_Int32 setType) throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL ownInsertsAreVisible(sal_Int32 setType) throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL othersUpdatesAreVisible(sal_Int32 setType)throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL othersDeletesAreVisible(sal_Int32 setType)throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL othersInsertsAreVisible(sal_Int32 setType)throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL updatesAreDetected(sal_Int32 setType) throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL deletesAreDetected(sal_Int32 setType) throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL insertsAreDetected(sal_Int32 setType) throw(my_SQLException, my_RuntimeException);
- sal_Bool SAL_CALL supportsBatchUpdates() throw(my_SQLException, my_RuntimeException);
- my_XResultSetRef SAL_CALL getUDTs(const Any& catalog, const OUString& schemaPattern, const OUString& typeNamePattern, const ::com::sun::star::uno::Sequence< sal_Int32 >& types) throw(my_SQLException, my_RuntimeException);
- ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > SAL_CALL getConnection() throw(my_SQLException, my_RuntimeException);
+ throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsDataManipulationTransactionsOnly()throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL dataDefinitionCausesTransactionCommit() throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL dataDefinitionIgnoredInTransactions() throw(my_SQLException, my_RuntimeException, std::exception);
+ my_XResultSetRef SAL_CALL getProcedures(const Any& catalog, const OUString& schemaPattern, const OUString& procedureNamePattern) throw(my_SQLException, my_RuntimeException, std::exception);
+ my_XResultSetRef SAL_CALL getProcedureColumns(const Any& catalog, const OUString& schemaPattern, const OUString& procedureNamePattern, const OUString& columnNamePattern) throw(my_SQLException, my_RuntimeException, std::exception);
+ my_XResultSetRef SAL_CALL getTables(const Any& catalog, const OUString& schemaPattern, const OUString& tableNamePattern, const ::com::sun::star::uno::Sequence< OUString >& types) throw(my_SQLException, my_RuntimeException, std::exception);
+ my_XResultSetRef SAL_CALL getSchemas() throw(my_SQLException, my_RuntimeException, std::exception);
+ my_XResultSetRef SAL_CALL getCatalogs() throw(my_SQLException, my_RuntimeException, std::exception);
+ my_XResultSetRef SAL_CALL getTableTypes() throw(my_SQLException, my_RuntimeException, std::exception);
+ my_XResultSetRef SAL_CALL getColumns(const Any& catalog, const OUString& schemaPattern, const OUString& tableNamePattern, const OUString& columnNamePattern) throw(my_SQLException, my_RuntimeException, std::exception);
+ my_XResultSetRef SAL_CALL getColumnPrivileges(const Any& catalog, const OUString& schema, const OUString& table, const OUString& columnNamePattern) throw(my_SQLException, my_RuntimeException, std::exception);
+ my_XResultSetRef SAL_CALL getTablePrivileges(const Any& catalog, const OUString& schemaPattern, const OUString& tableNamePattern) throw(my_SQLException, my_RuntimeException, std::exception);
+ my_XResultSetRef SAL_CALL getBestRowIdentifier(const Any& catalog, const OUString& schema, const OUString& table, sal_Int32 scope, sal_Bool nullable) throw(my_SQLException, my_RuntimeException, std::exception);
+ my_XResultSetRef SAL_CALL getVersionColumns(const Any& catalog, const OUString& schema, const OUString& table) throw(my_SQLException, my_RuntimeException, std::exception);
+ my_XResultSetRef SAL_CALL getPrimaryKeys(const Any& catalog, const OUString& schema, const OUString& table) throw(my_SQLException, my_RuntimeException, std::exception);
+ my_XResultSetRef SAL_CALL getImportedKeys(const Any& catalog, const OUString& schema, const OUString& table) throw(my_SQLException, my_RuntimeException, std::exception);
+ my_XResultSetRef SAL_CALL getExportedKeys(const Any& catalog, const OUString& schema, const OUString& table) throw(my_SQLException, my_RuntimeException, std::exception);
+ my_XResultSetRef SAL_CALL getCrossReference(const Any& primaryCatalog, const OUString& primarySchema, const OUString& primaryTable, const Any& foreignCatalog, const OUString& foreignSchema, const OUString& foreignTable) throw(my_SQLException, my_RuntimeException, std::exception);
+ my_XResultSetRef SAL_CALL getTypeInfo() throw(my_SQLException, my_RuntimeException, std::exception);
+ my_XResultSetRef SAL_CALL getIndexInfo(const Any& catalog, const OUString& schema, const OUString& table, sal_Bool unique, sal_Bool approximate) throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsResultSetType(sal_Int32 setType) throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsResultSetConcurrency(sal_Int32 setType, sal_Int32 concurrency) throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL ownUpdatesAreVisible(sal_Int32 setType) throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL ownDeletesAreVisible(sal_Int32 setType) throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL ownInsertsAreVisible(sal_Int32 setType) throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL othersUpdatesAreVisible(sal_Int32 setType)throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL othersDeletesAreVisible(sal_Int32 setType)throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL othersInsertsAreVisible(sal_Int32 setType)throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL updatesAreDetected(sal_Int32 setType) throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL deletesAreDetected(sal_Int32 setType) throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL insertsAreDetected(sal_Int32 setType) throw(my_SQLException, my_RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsBatchUpdates() throw(my_SQLException, my_RuntimeException, std::exception);
+ my_XResultSetRef SAL_CALL getUDTs(const Any& catalog, const OUString& schemaPattern, const OUString& typeNamePattern, const ::com::sun::star::uno::Sequence< sal_Int32 >& types) throw(my_SQLException, my_RuntimeException, std::exception);
+ ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > SAL_CALL getConnection() throw(my_SQLException, my_RuntimeException, std::exception);
};
}
}
diff --git a/mysqlc/source/mysqlc_driver.cxx b/mysqlc/source/mysqlc_driver.cxx
index 7d8d261ed106..05cd9e0e4fff 100644
--- a/mysqlc/source/mysqlc_driver.cxx
+++ b/mysqlc/source/mysqlc_driver.cxx
@@ -101,7 +101,7 @@ Sequence< OUString > MysqlCDriver::getSupportedServiceNames_Static()
/* {{{ MysqlCDriver::getImplementationName() -I- */
OUString SAL_CALL MysqlCDriver::getImplementationName()
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
OSL_TRACE("MysqlCDriver::getImplementationName");
return getImplementationName_Static();
@@ -110,7 +110,7 @@ OUString SAL_CALL MysqlCDriver::getImplementationName()
/* {{{ MysqlCDriver::supportsService() -I- */
sal_Bool SAL_CALL MysqlCDriver::supportsService(const OUString& _rServiceName)
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
OSL_TRACE("MysqlCDriver::supportsService");
return cppu::supportsService(this, _rServiceName);
@@ -119,7 +119,7 @@ sal_Bool SAL_CALL MysqlCDriver::supportsService(const OUString& _rServiceName)
/* {{{ MysqlCDriver::getSupportedServiceNames() -I- */
Sequence< OUString > SAL_CALL MysqlCDriver::getSupportedServiceNames()
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
OSL_TRACE("MysqlCDriver::getSupportedServiceNames");
return getSupportedServiceNames_Static();
@@ -207,7 +207,7 @@ void MysqlCDriver::impl_initCppConn_lck_throw()
/* {{{ MysqlCDriver::connect() -I- */
Reference< XConnection > SAL_CALL MysqlCDriver::connect(const OUString& url, const Sequence< PropertyValue >& info)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -243,7 +243,7 @@ Reference< XConnection > SAL_CALL MysqlCDriver::connect(const OUString& url, con
/* {{{ MysqlCDriver::acceptsURL() -I- */
sal_Bool SAL_CALL MysqlCDriver::acceptsURL(const OUString& url)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("MysqlCDriver::acceptsURL");
return (!url.compareTo(OUString("sdbc:mysqlc:"), sizeof("sdbc:mysqlc:")-1));
@@ -252,7 +252,7 @@ sal_Bool SAL_CALL MysqlCDriver::acceptsURL(const OUString& url)
/* {{{ MysqlCDriver::getPropertyInfo() -I- */
Sequence< DriverPropertyInfo > SAL_CALL MysqlCDriver::getPropertyInfo(const OUString& url, const Sequence< PropertyValue >& /* info */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("MysqlCDriver::getPropertyInfo");
if (acceptsURL(url)) {
@@ -281,7 +281,7 @@ Sequence< DriverPropertyInfo > SAL_CALL MysqlCDriver::getPropertyInfo(const OUSt
/* {{{ MysqlCDriver::getMajorVersion() -I- */
sal_Int32 SAL_CALL MysqlCDriver::getMajorVersion()
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
OSL_TRACE("MysqlCDriver::getMajorVersion");
return MARIADBC_VERSION_MAJOR;
@@ -290,7 +290,7 @@ sal_Int32 SAL_CALL MysqlCDriver::getMajorVersion()
/* {{{ MysqlCDriver::getMinorVersion() -I- */
sal_Int32 SAL_CALL MysqlCDriver::getMinorVersion()
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
OSL_TRACE("MysqlCDriver::getMinorVersion");
return MARIADBC_VERSION_MINOR;
diff --git a/mysqlc/source/mysqlc_driver.hxx b/mysqlc/source/mysqlc_driver.hxx
index d63ed055e6f0..c66748dab851 100644
--- a/mysqlc/source/mysqlc_driver.hxx
+++ b/mysqlc/source/mysqlc_driver.hxx
@@ -84,20 +84,20 @@ namespace connectivity
static Sequence< OUString > getSupportedServiceNames_Static() throw(RuntimeException);
// XServiceInfo
- OUString SAL_CALL getImplementationName() throw(RuntimeException);
- sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw(RuntimeException);
- Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(RuntimeException);
+ OUString SAL_CALL getImplementationName() throw(RuntimeException, std::exception);
+ sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw(RuntimeException, std::exception);
+ Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(RuntimeException, std::exception);
// XDriver
Reference< ::com::sun::star::sdbc::XConnection > SAL_CALL connect(const OUString& url, const Sequence< ::com::sun::star::beans::PropertyValue >& info)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
- sal_Bool SAL_CALL acceptsURL(const OUString& url) throw(SQLException, RuntimeException);
+ sal_Bool SAL_CALL acceptsURL(const OUString& url) throw(SQLException, RuntimeException, std::exception);
Sequence< ::com::sun::star::sdbc::DriverPropertyInfo > SAL_CALL getPropertyInfo(const OUString& url, const Sequence< ::com::sun::star::beans::PropertyValue >& info)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
- sal_Int32 SAL_CALL getMajorVersion() throw(RuntimeException);
- sal_Int32 SAL_CALL getMinorVersion() throw(RuntimeException);
+ sal_Int32 SAL_CALL getMajorVersion() throw(RuntimeException, std::exception);
+ sal_Int32 SAL_CALL getMinorVersion() throw(RuntimeException, std::exception);
inline Reference< ::com::sun::star::lang::XMultiServiceFactory > getFactory() const { return m_xFactory; }
diff --git a/mysqlc/source/mysqlc_preparedstatement.cxx b/mysqlc/source/mysqlc_preparedstatement.cxx
index d495ed403fa0..7abf172faaf0 100644
--- a/mysqlc/source/mysqlc_preparedstatement.cxx
+++ b/mysqlc/source/mysqlc_preparedstatement.cxx
@@ -60,13 +60,13 @@ static inline char * my_i_to_a(char * buf, size_t buf_size, int a)
/* }}} */
OUString OPreparedStatement::getImplementationName()
- throw (css::uno::RuntimeException)
+ throw (css::uno::RuntimeException, std::exception)
{
return OUString("com.sun.star.sdbcx.mysqlc.PreparedStatement");
}
css::uno::Sequence<OUString> OPreparedStatement::getSupportedServiceNames()
- throw (css::uno::RuntimeException)
+ throw (css::uno::RuntimeException, std::exception)
{
css::uno::Sequence<OUString> s(1);
s[0] = "com.sun.star.sdbc.PreparedStatement";
@@ -74,7 +74,7 @@ css::uno::Sequence<OUString> OPreparedStatement::getSupportedServiceNames()
}
sal_Bool OPreparedStatement::supportsService(OUString const & ServiceName)
- throw (css::uno::RuntimeException)
+ throw (css::uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, ServiceName);
}
@@ -126,7 +126,7 @@ void SAL_CALL OPreparedStatement::release()
/* {{{ OPreparedStatement::queryInterface() -I- */
Any SAL_CALL OPreparedStatement::queryInterface(const Type & rType)
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::queryInterface");
Any aRet = OCommonStatement::queryInterface(rType);
@@ -140,7 +140,7 @@ Any SAL_CALL OPreparedStatement::queryInterface(const Type & rType)
/* {{{ OPreparedStatement::getPropertySetInfo() -I- */
Sequence< Type > SAL_CALL OPreparedStatement::getTypes()
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::getTypes");
return concatSequences(OPreparedStatement_BASE::getTypes(), OCommonStatement::getTypes());
@@ -150,7 +150,7 @@ Sequence< Type > SAL_CALL OPreparedStatement::getTypes()
/* {{{ OPreparedStatement::getMetaData() -I- */
Reference< XResultSetMetaData > SAL_CALL OPreparedStatement::getMetaData()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::getMetaData");
MutexGuard aGuard(m_aMutex);
@@ -175,7 +175,7 @@ Reference< XResultSetMetaData > SAL_CALL OPreparedStatement::getMetaData()
/* {{{ OPreparedStatement::close() -I- */
void SAL_CALL OPreparedStatement::close()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::close");
@@ -198,7 +198,7 @@ void SAL_CALL OPreparedStatement::close()
/* {{{ OPreparedStatement::execute() -I- */
sal_Bool SAL_CALL OPreparedStatement::execute()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::execute");
MutexGuard aGuard(m_aMutex);
@@ -217,7 +217,7 @@ sal_Bool SAL_CALL OPreparedStatement::execute()
/* {{{ OPreparedStatement::executeUpdate() -I- */
sal_Int32 SAL_CALL OPreparedStatement::executeUpdate()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::executeUpdate");
MutexGuard aGuard(m_aMutex);
@@ -236,7 +236,7 @@ sal_Int32 SAL_CALL OPreparedStatement::executeUpdate()
/* {{{ OPreparedStatement::getPropertySetInfo() -I- */
void SAL_CALL OPreparedStatement::setString(sal_Int32 parameter, const OUString& x)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::setString");
MutexGuard aGuard(m_aMutex);
@@ -257,7 +257,7 @@ void SAL_CALL OPreparedStatement::setString(sal_Int32 parameter, const OUString&
/* {{{ OPreparedStatement::getConnection() -I- */
Reference< XConnection > SAL_CALL OPreparedStatement::getConnection()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::getConnection");
MutexGuard aGuard(m_aMutex);
@@ -268,26 +268,26 @@ Reference< XConnection > SAL_CALL OPreparedStatement::getConnection()
/* }}} */
Reference< XResultSet > SAL_CALL OPreparedStatement::executeQuery(const OUString& sql)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return OCommonStatement::executeQuery( sql );
}
sal_Int32 SAL_CALL OPreparedStatement::executeUpdate(const OUString& sql)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return OCommonStatement::executeUpdate( sql );
}
sal_Bool SAL_CALL OPreparedStatement::execute( const OUString& sql )
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
return OCommonStatement::execute( sql );
}
/* {{{ OPreparedStatement::executeQuery() -I- */
Reference< XResultSet > SAL_CALL OPreparedStatement::executeQuery()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::executeQuery");
MutexGuard aGuard(m_aMutex);
@@ -307,7 +307,7 @@ Reference< XResultSet > SAL_CALL OPreparedStatement::executeQuery()
/* {{{ OPreparedStatement::setBoolean() -I- */
void SAL_CALL OPreparedStatement::setBoolean(sal_Int32 parameter, sal_Bool x)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::setBoolean");
MutexGuard aGuard(m_aMutex);
@@ -327,7 +327,7 @@ void SAL_CALL OPreparedStatement::setBoolean(sal_Int32 parameter, sal_Bool x)
/* {{{ OPreparedStatement::setByte() -I- */
void SAL_CALL OPreparedStatement::setByte(sal_Int32 parameter, sal_Int8 x)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::setByte");
MutexGuard aGuard(m_aMutex);
@@ -347,7 +347,7 @@ void SAL_CALL OPreparedStatement::setByte(sal_Int32 parameter, sal_Int8 x)
/* {{{ OPreparedStatement::setDate() -I- */
void SAL_CALL OPreparedStatement::setDate(sal_Int32 parameter, const Date& aData)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::setDate");
MutexGuard aGuard(m_aMutex);
@@ -375,7 +375,7 @@ void SAL_CALL OPreparedStatement::setDate(sal_Int32 parameter, const Date& aData
/* {{{ OPreparedStatement::setTime() -I- */
void SAL_CALL OPreparedStatement::setTime(sal_Int32 parameter, const Time& aVal)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::setTime");
MutexGuard aGuard(m_aMutex);
@@ -403,7 +403,7 @@ void SAL_CALL OPreparedStatement::setTime(sal_Int32 parameter, const Time& aVal)
/* {{{ OPreparedStatement::setTimestamp() -I- */
void SAL_CALL OPreparedStatement::setTimestamp(sal_Int32 parameter, const DateTime& aVal)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::setTimestamp");
MutexGuard aGuard(m_aMutex);
@@ -439,7 +439,7 @@ void SAL_CALL OPreparedStatement::setTimestamp(sal_Int32 parameter, const DateTi
/* {{{ OPreparedStatement::setDouble() -I- */
void SAL_CALL OPreparedStatement::setDouble(sal_Int32 parameter, double x)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::setDouble");
MutexGuard aGuard(m_aMutex);
@@ -459,7 +459,7 @@ void SAL_CALL OPreparedStatement::setDouble(sal_Int32 parameter, double x)
/* {{{ OPreparedStatement::setFloat() -I- */
void SAL_CALL OPreparedStatement::setFloat(sal_Int32 parameter, float x)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::setFloat");
MutexGuard aGuard(m_aMutex);
@@ -479,7 +479,7 @@ void SAL_CALL OPreparedStatement::setFloat(sal_Int32 parameter, float x)
/* {{{ OPreparedStatement::setInt() -I- */
void SAL_CALL OPreparedStatement::setInt(sal_Int32 parameter, sal_Int32 x)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::setInt");
MutexGuard aGuard(m_aMutex);
@@ -499,7 +499,7 @@ void SAL_CALL OPreparedStatement::setInt(sal_Int32 parameter, sal_Int32 x)
/* {{{ OPreparedStatement::setLong() -I- */
void SAL_CALL OPreparedStatement::setLong(sal_Int32 parameter, sal_Int64 aVal)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::setLong");
MutexGuard aGuard(m_aMutex);
@@ -519,7 +519,7 @@ void SAL_CALL OPreparedStatement::setLong(sal_Int32 parameter, sal_Int64 aVal)
/* {{{ OPreparedStatement::setNull() -I- */
void SAL_CALL OPreparedStatement::setNull(sal_Int32 parameter, sal_Int32 sqlType)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::setNull");
MutexGuard aGuard(m_aMutex);
@@ -539,7 +539,7 @@ void SAL_CALL OPreparedStatement::setNull(sal_Int32 parameter, sal_Int32 sqlType
/* {{{ OPreparedStatement::setClob() -U- */
void SAL_CALL OPreparedStatement::setClob(sal_Int32 parameter, const Reference< XClob >& /* x */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::setClob");
MutexGuard aGuard(m_aMutex);
@@ -553,7 +553,7 @@ void SAL_CALL OPreparedStatement::setClob(sal_Int32 parameter, const Reference<
/* {{{ OPreparedStatement::setBlob() -U- */
void SAL_CALL OPreparedStatement::setBlob(sal_Int32 parameter, const Reference< XBlob >& /* x */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::setBlob");
MutexGuard aGuard(m_aMutex);
@@ -567,7 +567,7 @@ void SAL_CALL OPreparedStatement::setBlob(sal_Int32 parameter, const Reference<
/* {{{ OPreparedStatement::setArray() -U- */
void SAL_CALL OPreparedStatement::setArray(sal_Int32 parameter, const Reference< XArray >& /* x */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::setArray");
MutexGuard aGuard(m_aMutex);
@@ -581,7 +581,7 @@ void SAL_CALL OPreparedStatement::setArray(sal_Int32 parameter, const Reference<
/* {{{ OPreparedStatement::setRef() -U- */
void SAL_CALL OPreparedStatement::setRef(sal_Int32 parameter, const Reference< XRef >& /* x */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::setRef");
MutexGuard aGuard(m_aMutex);
@@ -623,7 +623,7 @@ namespace
/* {{{ OPreparedStatement::setObjectWithInfo() -U- */
void SAL_CALL OPreparedStatement::setObjectWithInfo(sal_Int32 _parameterIndex, const Any& _value, sal_Int32 _targetSqlType, sal_Int32 /* scale */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::setObjectWithInfo");
checkDisposed(OPreparedStatement::rBHelper.bDisposed);
@@ -760,7 +760,7 @@ void SAL_CALL OPreparedStatement::setObjectWithInfo(sal_Int32 _parameterIndex, c
/* {{{ OPreparedStatement::setObjectNull() -U- */
void SAL_CALL OPreparedStatement::setObjectNull(sal_Int32 parameter, sal_Int32 /* sqlType */, const OUString& /* typeName */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::setObjectNull");
MutexGuard aGuard(m_aMutex);
@@ -774,7 +774,7 @@ void SAL_CALL OPreparedStatement::setObjectNull(sal_Int32 parameter, sal_Int32 /
/* {{{ OPreparedStatement::setObject() -U- */
void SAL_CALL OPreparedStatement::setObject(sal_Int32 parameter, const Any& /* x */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::setObject");
MutexGuard aGuard(m_aMutex);
@@ -788,7 +788,7 @@ void SAL_CALL OPreparedStatement::setObject(sal_Int32 parameter, const Any& /* x
/* {{{ OPreparedStatement::setShort() -I- */
void SAL_CALL OPreparedStatement::setShort(sal_Int32 parameter, sal_Int16 x)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::setShort");
MutexGuard aGuard(m_aMutex);
@@ -808,7 +808,7 @@ void SAL_CALL OPreparedStatement::setShort(sal_Int32 parameter, sal_Int16 x)
/* {{{ OPreparedStatement::setBytes() -I- */
void SAL_CALL OPreparedStatement::setBytes(sal_Int32 parameter, const Sequence< sal_Int8 >& x)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::setBytes");
MutexGuard aGuard(m_aMutex);
@@ -831,7 +831,7 @@ void SAL_CALL OPreparedStatement::setBytes(sal_Int32 parameter, const Sequence<
void SAL_CALL OPreparedStatement::setCharacterStream(sal_Int32 parameter,
const Reference< XInputStream >& /* x */,
sal_Int32 /* length */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::setCharacterStream");
MutexGuard aGuard(m_aMutex);
@@ -847,7 +847,7 @@ void SAL_CALL OPreparedStatement::setCharacterStream(sal_Int32 parameter,
void SAL_CALL OPreparedStatement::setBinaryStream(sal_Int32 parameter,
const Reference< XInputStream >& /* x */,
sal_Int32 /* length */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::setBinaryStream");
MutexGuard aGuard(m_aMutex);
@@ -861,7 +861,7 @@ void SAL_CALL OPreparedStatement::setBinaryStream(sal_Int32 parameter,
/* {{{ OPreparedStatement::clearParameters() -I- */
void SAL_CALL OPreparedStatement::clearParameters()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::clearParameters");
MutexGuard aGuard(m_aMutex);
@@ -880,7 +880,7 @@ void SAL_CALL OPreparedStatement::clearParameters()
/* {{{ OPreparedStatement::clearBatch() -U- */
void SAL_CALL OPreparedStatement::clearBatch()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::clearBatch");
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::clearBatch", *this);
@@ -890,7 +890,7 @@ void SAL_CALL OPreparedStatement::clearBatch()
/* {{{ OPreparedStatement::addBatch() -U- */
void SAL_CALL OPreparedStatement::addBatch()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::addBatch");
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::addBatch", *this);
@@ -900,7 +900,7 @@ void SAL_CALL OPreparedStatement::addBatch()
/* {{{ OPreparedStatement::executeBatch() -I- */
Sequence< sal_Int32 > SAL_CALL OPreparedStatement::executeBatch()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::executeBatch");
Sequence< sal_Int32 > aRet= Sequence< sal_Int32 > ();
@@ -911,7 +911,7 @@ Sequence< sal_Int32 > SAL_CALL OPreparedStatement::executeBatch()
/* {{{ OPreparedStatement::setFastPropertyValue_NoBroadcast() -I- */
void OPreparedStatement::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,const Any& rValue)
- throw(Exception)
+ throw(Exception, std::exception)
{
OSL_TRACE("OPreparedStatement::setFastPropertyValue_NoBroadcast");
switch(nHandle)
diff --git a/mysqlc/source/mysqlc_preparedstatement.hxx b/mysqlc/source/mysqlc_preparedstatement.hxx
index 9acd6322f56b..7a8e0fa4b27c 100644
--- a/mysqlc/source/mysqlc_preparedstatement.hxx
+++ b/mysqlc/source/mysqlc_preparedstatement.hxx
@@ -59,114 +59,114 @@ namespace connectivity
protected:
void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const Any& rValue)
- throw (::com::sun::star::uno::Exception);
+ throw (::com::sun::star::uno::Exception, std::exception);
virtual ~OPreparedStatement();
public:
virtual OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException) SAL_OVERRIDE;
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService(
- OUString const & ServiceName) throw (css::uno::RuntimeException)
+ OUString const & ServiceName) throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE;
virtual css::uno::Sequence<OUString> SAL_CALL
- getSupportedServiceNames() throw (css::uno::RuntimeException)
+ getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE;
OPreparedStatement(OConnection* _pConnection, sql::PreparedStatement * cppPrepStmt);
//XInterface
- Any SAL_CALL queryInterface(const Type & rType) throw(RuntimeException);
+ Any SAL_CALL queryInterface(const Type & rType) throw(RuntimeException, std::exception);
void SAL_CALL acquire() throw();
void SAL_CALL release() throw();
//XTypeProvider
::com::sun::star::uno::Sequence< Type > SAL_CALL getTypes()
- throw(RuntimeException);
+ throw(RuntimeException, std::exception);
// XPreparedStatement
- Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL executeQuery() throw(SQLException, RuntimeException);
- sal_Int32 SAL_CALL executeUpdate() throw(SQLException, RuntimeException);
- sal_Bool SAL_CALL execute() throw(SQLException, RuntimeException);
- Reference< ::com::sun::star::sdbc::XConnection > SAL_CALL getConnection() throw(SQLException, RuntimeException);
+ Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL executeQuery() throw(SQLException, RuntimeException, std::exception);
+ sal_Int32 SAL_CALL executeUpdate() throw(SQLException, RuntimeException, std::exception);
+ sal_Bool SAL_CALL execute() throw(SQLException, RuntimeException, std::exception);
+ Reference< ::com::sun::star::sdbc::XConnection > SAL_CALL getConnection() throw(SQLException, RuntimeException, std::exception);
// XStatement
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL executeQuery(const OUString& sql)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
sal_Int32 SAL_CALL executeUpdate(const OUString& sql)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
sal_Bool SAL_CALL execute( const OUString& sql )
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
// XParameters
- void SAL_CALL setNull(sal_Int32 parameter, sal_Int32 sqlType) throw(SQLException, RuntimeException);
+ void SAL_CALL setNull(sal_Int32 parameter, sal_Int32 sqlType) throw(SQLException, RuntimeException, std::exception);
void SAL_CALL setObjectNull(sal_Int32 parameter, sal_Int32 sqlType, const OUString& typeName)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
- void SAL_CALL setBoolean(sal_Int32 parameter, sal_Bool x) throw(SQLException, RuntimeException);
+ void SAL_CALL setBoolean(sal_Int32 parameter, sal_Bool x) throw(SQLException, RuntimeException, std::exception);
- void SAL_CALL setByte(sal_Int32 parameter, sal_Int8 x) throw(SQLException, RuntimeException);
+ void SAL_CALL setByte(sal_Int32 parameter, sal_Int8 x) throw(SQLException, RuntimeException, std::exception);
- void SAL_CALL setShort(sal_Int32 parameter, sal_Int16 x) throw(SQLException, RuntimeException);
+ void SAL_CALL setShort(sal_Int32 parameter, sal_Int16 x) throw(SQLException, RuntimeException, std::exception);
- void SAL_CALL setInt(sal_Int32 parameter, sal_Int32 x) throw(SQLException, RuntimeException);
+ void SAL_CALL setInt(sal_Int32 parameter, sal_Int32 x) throw(SQLException, RuntimeException, std::exception);
- void SAL_CALL setLong(sal_Int32 parameter, sal_Int64 x) throw(SQLException, RuntimeException);
+ void SAL_CALL setLong(sal_Int32 parameter, sal_Int64 x) throw(SQLException, RuntimeException, std::exception);
- void SAL_CALL setFloat(sal_Int32 parameter, float x) throw(SQLException, RuntimeException);
+ void SAL_CALL setFloat(sal_Int32 parameter, float x) throw(SQLException, RuntimeException, std::exception);
- void SAL_CALL setDouble(sal_Int32 parameter, double x) throw(SQLException, RuntimeException);
+ void SAL_CALL setDouble(sal_Int32 parameter, double x) throw(SQLException, RuntimeException, std::exception);
- void SAL_CALL setString(sal_Int32 parameter, const OUString& x) throw(SQLException, RuntimeException);
+ void SAL_CALL setString(sal_Int32 parameter, const OUString& x) throw(SQLException, RuntimeException, std::exception);
void SAL_CALL setBytes(sal_Int32 parameter, const ::com::sun::star::uno::Sequence< sal_Int8 >& x)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
void SAL_CALL setDate(sal_Int32 parameter, const ::com::sun::star::util::Date& x)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
void SAL_CALL setTime(sal_Int32 parameter, const ::com::sun::star::util::Time& x)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
void SAL_CALL setTimestamp(sal_Int32 parameter, const ::com::sun::star::util::DateTime& x)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
void SAL_CALL setBinaryStream(sal_Int32 parameter, const Reference< ::com::sun::star::io::XInputStream >& x, sal_Int32 length)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
void SAL_CALL setCharacterStream(sal_Int32 parameter, const Reference< ::com::sun::star::io::XInputStream >& x, sal_Int32 length)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
- void SAL_CALL setObject(sal_Int32 parameter, const Any& x) throw(SQLException, RuntimeException);
+ void SAL_CALL setObject(sal_Int32 parameter, const Any& x) throw(SQLException, RuntimeException, std::exception);
void SAL_CALL setObjectWithInfo(sal_Int32 parameter, const Any& x, sal_Int32 targetSqlType, sal_Int32 scale)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
void SAL_CALL setRef(sal_Int32 parameter, const Reference< ::com::sun::star::sdbc::XRef >& x)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
void SAL_CALL setBlob(sal_Int32 parameter, const Reference< ::com::sun::star::sdbc::XBlob >& x)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
void SAL_CALL setClob(sal_Int32 parameter, const Reference< ::com::sun::star::sdbc::XClob >& x)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
void SAL_CALL setArray(sal_Int32 parameter, const Reference< ::com::sun::star::sdbc::XArray >& x)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
- void SAL_CALL clearParameters() throw(SQLException, RuntimeException);
+ void SAL_CALL clearParameters() throw(SQLException, RuntimeException, std::exception);
// XPreparedBatchExecution
- void SAL_CALL addBatch() throw(SQLException, RuntimeException);
- void SAL_CALL clearBatch() throw(SQLException, RuntimeException);
- ::com::sun::star::uno::Sequence< sal_Int32 > SAL_CALL executeBatch() throw(SQLException, RuntimeException);
+ void SAL_CALL addBatch() throw(SQLException, RuntimeException, std::exception);
+ void SAL_CALL clearBatch() throw(SQLException, RuntimeException, std::exception);
+ ::com::sun::star::uno::Sequence< sal_Int32 > SAL_CALL executeBatch() throw(SQLException, RuntimeException, std::exception);
// XCloseable
- void SAL_CALL close() throw(SQLException, RuntimeException);
+ void SAL_CALL close() throw(SQLException, RuntimeException, std::exception);
// XResultSetMetaDataSupplier
Reference< ::com::sun::star::sdbc::XResultSetMetaData > SAL_CALL getMetaData()
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
};
} /* mysqlc */
} /* connectivity */
diff --git a/mysqlc/source/mysqlc_resultset.cxx b/mysqlc/source/mysqlc_resultset.cxx
index 1ad625dc3c08..cafcd8e2aa17 100644
--- a/mysqlc/source/mysqlc_resultset.cxx
+++ b/mysqlc/source/mysqlc_resultset.cxx
@@ -51,7 +51,7 @@ using ::osl::MutexGuard;
/* {{{ OResultSet::getImplementationName() -I- */
OUString SAL_CALL OResultSet::getImplementationName()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getImplementationName");
return OUString( "com.sun.star.sdbcx.mysqlc.ResultSet" );
@@ -60,7 +60,7 @@ OUString SAL_CALL OResultSet::getImplementationName()
/* {{{ OResultSet::getSupportedServiceNames() -I- */
Sequence< OUString > SAL_CALL OResultSet::getSupportedServiceNames()
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getSupportedServiceNames");
Sequence< OUString > aSupported(2);
@@ -72,7 +72,7 @@ Sequence< OUString > SAL_CALL OResultSet::getSupportedServiceNames()
/* {{{ OResultSet::supportsService() -I- */
sal_Bool SAL_CALL OResultSet::supportsService(const OUString& _rServiceName)
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::supportsService");
return cppu::supportsService(this, _rServiceName);
@@ -121,7 +121,7 @@ void OResultSet::disposing()
/* {{{ OResultSet::queryInterface() -I- */
Any SAL_CALL OResultSet::queryInterface(const Type & rType)
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::queryInterface");
Any aRet = OPropertySetHelper::queryInterface(rType);
@@ -134,7 +134,7 @@ Any SAL_CALL OResultSet::queryInterface(const Type & rType)
/* {{{ OResultSet::getTypes() -I- */
Sequence< Type > SAL_CALL OResultSet::getTypes()
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getTypes");
OTypeCollection aTypes( ::getCppuType((const Reference< XMultiPropertySet > *) NULL),
@@ -147,7 +147,7 @@ Sequence< Type > SAL_CALL OResultSet::getTypes()
/* {{{ OResultSet::findColumn() -I- */
sal_Int32 SAL_CALL OResultSet::findColumn(const OUString& columnName)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::findColumn");
MutexGuard aGuard(m_aMutex);
@@ -177,7 +177,7 @@ sal_Int32 SAL_CALL OResultSet::findColumn(const OUString& columnName)
/* {{{ OResultSet::getBinaryStream() -U- */
Reference< XInputStream > SAL_CALL OResultSet::getBinaryStream(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getBinaryStream");
MutexGuard aGuard(m_aMutex);
@@ -191,7 +191,7 @@ Reference< XInputStream > SAL_CALL OResultSet::getBinaryStream(sal_Int32 column)
/* {{{ OResultSet::getCharacterStream() -U- */
Reference< XInputStream > SAL_CALL OResultSet::getCharacterStream(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getCharacterStream");
MutexGuard aGuard(m_aMutex);
@@ -205,7 +205,7 @@ Reference< XInputStream > SAL_CALL OResultSet::getCharacterStream(sal_Int32 colu
/* {{{ OResultSet::getBoolean() -I- */
sal_Bool SAL_CALL OResultSet::getBoolean(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getBoolean");
MutexGuard aGuard(m_aMutex);
@@ -223,7 +223,7 @@ sal_Bool SAL_CALL OResultSet::getBoolean(sal_Int32 column)
/* {{{ OResultSet::getByte() -I- */
sal_Int8 SAL_CALL OResultSet::getByte(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getByte");
MutexGuard aGuard(m_aMutex);
@@ -241,7 +241,7 @@ sal_Int8 SAL_CALL OResultSet::getByte(sal_Int32 column)
/* {{{ OResultSet::getBytes() -I- */
Sequence< sal_Int8 > SAL_CALL OResultSet::getBytes(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getBytes");
@@ -259,7 +259,7 @@ Sequence< sal_Int8 > SAL_CALL OResultSet::getBytes(sal_Int32 column)
/* {{{ OResultSet::getDate() -I- */
Date SAL_CALL OResultSet::getDate(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getDate");
MutexGuard aGuard(m_aMutex);
@@ -297,7 +297,7 @@ Date SAL_CALL OResultSet::getDate(sal_Int32 column)
/* {{{ OResultSet::getDouble() -I- */
double SAL_CALL OResultSet::getDouble(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getDouble");
MutexGuard aGuard(m_aMutex);
@@ -315,7 +315,7 @@ double SAL_CALL OResultSet::getDouble(sal_Int32 column)
/* {{{ OResultSet::getFloat() -I- */
float SAL_CALL OResultSet::getFloat(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getFloat");
MutexGuard aGuard(m_aMutex);
@@ -333,7 +333,7 @@ float SAL_CALL OResultSet::getFloat(sal_Int32 column)
/* {{{ OResultSet::getInt() -I- */
sal_Int32 SAL_CALL OResultSet::getInt(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getInt");
MutexGuard aGuard(m_aMutex);
@@ -351,7 +351,7 @@ sal_Int32 SAL_CALL OResultSet::getInt(sal_Int32 column)
/* {{{ OResultSet::getRow() -I- */
sal_Int32 SAL_CALL OResultSet::getRow()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getRow");
MutexGuard aGuard(m_aMutex);
@@ -368,7 +368,7 @@ sal_Int32 SAL_CALL OResultSet::getRow()
/* {{{ OResultSet::getLong() -I- */
sal_Int64 SAL_CALL OResultSet::getLong(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getLong");
MutexGuard aGuard(m_aMutex);
@@ -386,7 +386,7 @@ sal_Int64 SAL_CALL OResultSet::getLong(sal_Int32 column)
/* {{{ OResultSet::getMetaData() -I- */
Reference< XResultSetMetaData > SAL_CALL OResultSet::getMetaData()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getMetaData");
MutexGuard aGuard(m_aMutex);
@@ -406,7 +406,7 @@ Reference< XResultSetMetaData > SAL_CALL OResultSet::getMetaData()
/* {{{ OResultSet::getArray() -U- */
Reference< XArray > SAL_CALL OResultSet::getArray(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getArray");
MutexGuard aGuard(m_aMutex);
@@ -420,7 +420,7 @@ Reference< XArray > SAL_CALL OResultSet::getArray(sal_Int32 column)
/* {{{ OResultSet::getClob() -U- */
Reference< XClob > SAL_CALL OResultSet::getClob(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getClob");
MutexGuard aGuard(m_aMutex);
@@ -434,7 +434,7 @@ Reference< XClob > SAL_CALL OResultSet::getClob(sal_Int32 column)
/* {{{ OResultSet::getBlob() -U- */
Reference< XBlob > SAL_CALL OResultSet::getBlob(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getBlob");
MutexGuard aGuard(m_aMutex);
@@ -448,7 +448,7 @@ Reference< XBlob > SAL_CALL OResultSet::getBlob(sal_Int32 column)
/* {{{ OResultSet::getRef() -U- */
Reference< XRef > SAL_CALL OResultSet::getRef(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getRef");
MutexGuard aGuard(m_aMutex);
@@ -462,7 +462,7 @@ Reference< XRef > SAL_CALL OResultSet::getRef(sal_Int32 column)
/* {{{ OResultSet::getObject() -U- */
Any SAL_CALL OResultSet::getObject(sal_Int32 column, const Reference< XNameAccess >& /* typeMap */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getObject");
MutexGuard aGuard(m_aMutex);
@@ -478,7 +478,7 @@ Any SAL_CALL OResultSet::getObject(sal_Int32 column, const Reference< XNameAcces
/* {{{ OResultSet::getShort() -I- */
sal_Int16 SAL_CALL OResultSet::getShort(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getShort");
MutexGuard aGuard(m_aMutex);
@@ -495,7 +495,7 @@ sal_Int16 SAL_CALL OResultSet::getShort(sal_Int32 column)
/* {{{ OResultSet::getString() -I- */
OUString SAL_CALL OResultSet::getString(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getString");
MutexGuard aGuard(m_aMutex);
@@ -519,7 +519,7 @@ OUString SAL_CALL OResultSet::getString(sal_Int32 column)
/* {{{ OResultSet::getTime() -I- */
Time SAL_CALL OResultSet::getTime(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getTime");
checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -555,7 +555,7 @@ Time SAL_CALL OResultSet::getTime(sal_Int32 column)
/* {{{ OResultSet::getTimestamp() -I- */
DateTime SAL_CALL OResultSet::getTimestamp(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getTimestamp");
checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -578,7 +578,7 @@ DateTime SAL_CALL OResultSet::getTimestamp(sal_Int32 column)
/* {{{ OResultSet::isBeforeFirst() -I- */
sal_Bool SAL_CALL OResultSet::isBeforeFirst()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::isBeforeFirst");
MutexGuard aGuard(m_aMutex);
@@ -595,7 +595,7 @@ sal_Bool SAL_CALL OResultSet::isBeforeFirst()
/* {{{ OResultSet::isAfterLast() -I- */
sal_Bool SAL_CALL OResultSet::isAfterLast()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::isAfterLast");
MutexGuard aGuard(m_aMutex);
@@ -612,7 +612,7 @@ sal_Bool SAL_CALL OResultSet::isAfterLast()
/* {{{ OResultSet::isFirst() -I- */
sal_Bool SAL_CALL OResultSet::isFirst()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::isFirst");
MutexGuard aGuard(m_aMutex);
@@ -629,7 +629,7 @@ sal_Bool SAL_CALL OResultSet::isFirst()
/* {{{ OResultSet::isLast() -I- */
sal_Bool SAL_CALL OResultSet::isLast()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::isLast");
MutexGuard aGuard(m_aMutex);
@@ -646,7 +646,7 @@ sal_Bool SAL_CALL OResultSet::isLast()
/* {{{ OResultSet::beforeFirst() -I- */
void SAL_CALL OResultSet::beforeFirst()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::beforeFirst");
MutexGuard aGuard(m_aMutex);
@@ -662,7 +662,7 @@ void SAL_CALL OResultSet::beforeFirst()
/* {{{ OResultSet::afterLast() -I- */
void SAL_CALL OResultSet::afterLast()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::afterLast");
MutexGuard aGuard(m_aMutex);
@@ -677,7 +677,7 @@ void SAL_CALL OResultSet::afterLast()
/* }}} */
/* {{{ OResultSet::close() -I- */
-void SAL_CALL OResultSet::close() throw(SQLException, RuntimeException)
+void SAL_CALL OResultSet::close() throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::close");
MutexGuard aGuard(m_aMutex);
@@ -694,7 +694,7 @@ void SAL_CALL OResultSet::close() throw(SQLException, RuntimeException)
/* }}} */
/* {{{ OResultSet::first() -I- */
-sal_Bool SAL_CALL OResultSet::first() throw(SQLException, RuntimeException)
+sal_Bool SAL_CALL OResultSet::first() throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::first");
MutexGuard aGuard(m_aMutex);
@@ -711,7 +711,7 @@ sal_Bool SAL_CALL OResultSet::first() throw(SQLException, RuntimeException)
/* {{{ OResultSet::last() -I- */
sal_Bool SAL_CALL OResultSet::last()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::last");
MutexGuard aGuard(m_aMutex);
@@ -728,7 +728,7 @@ sal_Bool SAL_CALL OResultSet::last()
/* {{{ OResultSet::absolute() -I- */
sal_Bool SAL_CALL OResultSet::absolute(sal_Int32 row)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::absolute");
MutexGuard aGuard(m_aMutex);
@@ -745,7 +745,7 @@ sal_Bool SAL_CALL OResultSet::absolute(sal_Int32 row)
/* {{{ OResultSet::relative() -I- */
sal_Bool SAL_CALL OResultSet::relative(sal_Int32 row)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::relative");
MutexGuard aGuard(m_aMutex);
@@ -762,7 +762,7 @@ sal_Bool SAL_CALL OResultSet::relative(sal_Int32 row)
/* {{{ OResultSet::previous() -I- */
sal_Bool SAL_CALL OResultSet::previous()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::previous");
MutexGuard aGuard(m_aMutex);
@@ -779,7 +779,7 @@ sal_Bool SAL_CALL OResultSet::previous()
/* {{{ OResultSet::getStatement() -I- */
Reference< XInterface > SAL_CALL OResultSet::getStatement()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getStatement");
MutexGuard aGuard(m_aMutex);
@@ -791,7 +791,7 @@ Reference< XInterface > SAL_CALL OResultSet::getStatement()
/* {{{ OResultSet::rowDeleted() -I- */
sal_Bool SAL_CALL OResultSet::rowDeleted()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::rowDeleted");
MutexGuard aGuard(m_aMutex);
@@ -803,7 +803,7 @@ sal_Bool SAL_CALL OResultSet::rowDeleted()
/* {{{ OResultSet::rowInserted() -I- */
sal_Bool SAL_CALL OResultSet::rowInserted()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::rowInserted");
MutexGuard aGuard(m_aMutex);
@@ -815,7 +815,7 @@ sal_Bool SAL_CALL OResultSet::rowInserted()
/* {{{ OResultSet::rowUpdated() -I- */
sal_Bool SAL_CALL OResultSet::rowUpdated()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::rowUpdated");
MutexGuard aGuard(m_aMutex);
@@ -827,7 +827,7 @@ sal_Bool SAL_CALL OResultSet::rowUpdated()
/* {{{ OResultSet::next() -I- */
sal_Bool SAL_CALL OResultSet::next()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::next");
MutexGuard aGuard(m_aMutex);
@@ -844,7 +844,7 @@ sal_Bool SAL_CALL OResultSet::next()
/* {{{ OResultSet::wasNull() -I- */
sal_Bool SAL_CALL OResultSet::wasNull()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::wasNull");
MutexGuard aGuard(m_aMutex);
@@ -861,7 +861,7 @@ sal_Bool SAL_CALL OResultSet::wasNull()
/* {{{ OResultSet::cancel() -I- */
void SAL_CALL OResultSet::cancel()
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::cancel");
MutexGuard aGuard(m_aMutex);
@@ -871,7 +871,7 @@ void SAL_CALL OResultSet::cancel()
/* {{{ OResultSet::clearWarnings() -I- */
void SAL_CALL OResultSet::clearWarnings()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::clearWarnings");
}
@@ -879,7 +879,7 @@ void SAL_CALL OResultSet::clearWarnings()
/* {{{ OResultSet::getWarnings() -I- */
Any SAL_CALL OResultSet::getWarnings()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getWarnings");
Any aRet= Any();
@@ -889,7 +889,7 @@ Any SAL_CALL OResultSet::getWarnings()
/* {{{ OResultSet::insertRow() -I- */
void SAL_CALL OResultSet::insertRow()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::insertRow");
MutexGuard aGuard(m_aMutex);
@@ -901,7 +901,7 @@ void SAL_CALL OResultSet::insertRow()
/* {{{ OResultSet::updateRow() -I- */
void SAL_CALL OResultSet::updateRow()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::updateRow");
MutexGuard aGuard(m_aMutex);
@@ -914,7 +914,7 @@ void SAL_CALL OResultSet::updateRow()
/* {{{ OResultSet::deleteRow() -I- */
void SAL_CALL OResultSet::deleteRow()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::deleteRow");
MutexGuard aGuard(m_aMutex);
@@ -925,7 +925,7 @@ void SAL_CALL OResultSet::deleteRow()
/* {{{ OResultSet::cancelRowUpdates() -I- */
void SAL_CALL OResultSet::cancelRowUpdates()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::cancelRowUpdates");
MutexGuard aGuard(m_aMutex);
@@ -936,7 +936,7 @@ void SAL_CALL OResultSet::cancelRowUpdates()
/* {{{ OResultSet::moveToInsertRow() -I- */
void SAL_CALL OResultSet::moveToInsertRow()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::moveToInsertRow");
MutexGuard aGuard(m_aMutex);
@@ -949,7 +949,7 @@ void SAL_CALL OResultSet::moveToInsertRow()
/* {{{ OResultSet::moveToCurrentRow() -I- */
void SAL_CALL OResultSet::moveToCurrentRow()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::moveToCurrentRow");
MutexGuard aGuard(m_aMutex);
@@ -959,7 +959,7 @@ void SAL_CALL OResultSet::moveToCurrentRow()
/* {{{ OResultSet::updateNull() -U- */
void SAL_CALL OResultSet::updateNull(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::updateNull");
MutexGuard aGuard(m_aMutex);
@@ -971,7 +971,7 @@ void SAL_CALL OResultSet::updateNull(sal_Int32 column)
/* {{{ OResultSet::updateBoolean() -U- */
void SAL_CALL OResultSet::updateBoolean(sal_Int32 column, sal_Bool /* x */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::updateBoolean");
MutexGuard aGuard(m_aMutex);
@@ -983,7 +983,7 @@ void SAL_CALL OResultSet::updateBoolean(sal_Int32 column, sal_Bool /* x */)
/* {{{ OResultSet::updateByte() -U- */
void SAL_CALL OResultSet::updateByte(sal_Int32 column, sal_Int8 /* x */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::updateByte");
checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -995,7 +995,7 @@ void SAL_CALL OResultSet::updateByte(sal_Int32 column, sal_Int8 /* x */)
/* {{{ OResultSet::updateShort() -U- */
void SAL_CALL OResultSet::updateShort(sal_Int32 column, sal_Int16 /* x */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::updateShort");
MutexGuard aGuard(m_aMutex);
@@ -1007,7 +1007,7 @@ void SAL_CALL OResultSet::updateShort(sal_Int32 column, sal_Int16 /* x */)
/* {{{ OResultSet::updateInt() -U- */
void SAL_CALL OResultSet::updateInt(sal_Int32 column, sal_Int32 /* x */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::updateInt");
checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -1019,7 +1019,7 @@ void SAL_CALL OResultSet::updateInt(sal_Int32 column, sal_Int32 /* x */)
/* {{{ OResultSet::updateLong() -U- */
void SAL_CALL OResultSet::updateLong(sal_Int32 column, sal_Int64 /* x */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::updateLong");
MutexGuard aGuard(m_aMutex);
@@ -1031,7 +1031,7 @@ void SAL_CALL OResultSet::updateLong(sal_Int32 column, sal_Int64 /* x */)
/* {{{ OResultSet::updateFloat() -U- */
void SAL_CALL OResultSet::updateFloat(sal_Int32 column, float /* x */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::updateFloat");
MutexGuard aGuard(m_aMutex);
@@ -1043,7 +1043,7 @@ void SAL_CALL OResultSet::updateFloat(sal_Int32 column, float /* x */)
/* {{{ OResultSet::updateDouble() -U- */
void SAL_CALL OResultSet::updateDouble(sal_Int32 column, double /* x */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::updateDouble");
MutexGuard aGuard(m_aMutex);
@@ -1055,7 +1055,7 @@ void SAL_CALL OResultSet::updateDouble(sal_Int32 column, double /* x */)
/* {{{ OResultSet::updateString() -U- */
void SAL_CALL OResultSet::updateString(sal_Int32 column, const OUString& /* x */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::updateString");
MutexGuard aGuard(m_aMutex);
@@ -1067,7 +1067,7 @@ void SAL_CALL OResultSet::updateString(sal_Int32 column, const OUString& /* x */
/* {{{ OResultSet::updateBytes() -U- */
void SAL_CALL OResultSet::updateBytes(sal_Int32 column, const Sequence< sal_Int8 >& /* x */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::updateBytes");
MutexGuard aGuard(m_aMutex);
@@ -1079,7 +1079,7 @@ void SAL_CALL OResultSet::updateBytes(sal_Int32 column, const Sequence< sal_Int8
/* {{{ OResultSet::updateDate() -U- */
void SAL_CALL OResultSet::updateDate(sal_Int32 column, const Date& /* x */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::updateDate");
MutexGuard aGuard(m_aMutex);
@@ -1091,7 +1091,7 @@ void SAL_CALL OResultSet::updateDate(sal_Int32 column, const Date& /* x */)
/* {{{ OResultSet::updateTime() -U- */
void SAL_CALL OResultSet::updateTime(sal_Int32 column, const Time& /* x */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::updateTime");
MutexGuard aGuard(m_aMutex);
@@ -1103,7 +1103,7 @@ void SAL_CALL OResultSet::updateTime(sal_Int32 column, const Time& /* x */)
/* {{{ OResultSet::updateTimestamp() -U- */
void SAL_CALL OResultSet::updateTimestamp(sal_Int32 column, const DateTime& /* x */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::updateTimestamp");
MutexGuard aGuard(m_aMutex);
@@ -1116,7 +1116,7 @@ void SAL_CALL OResultSet::updateTimestamp(sal_Int32 column, const DateTime& /* x
/* {{{ OResultSet::updateBinaryStream() -U- */
void SAL_CALL OResultSet::updateBinaryStream(sal_Int32 column, const Reference< XInputStream >& /* x */,
sal_Int32 /* length */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::updateBinaryStream");
MutexGuard aGuard(m_aMutex);
@@ -1129,7 +1129,7 @@ void SAL_CALL OResultSet::updateBinaryStream(sal_Int32 column, const Reference<
/* {{{ OResultSet::updateCharacterStream() -U- */
void SAL_CALL OResultSet::updateCharacterStream(sal_Int32 column, const Reference< XInputStream >& /* x */,
sal_Int32 /* length */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::updateCharacterStream");
MutexGuard aGuard(m_aMutex);
@@ -1141,7 +1141,7 @@ void SAL_CALL OResultSet::updateCharacterStream(sal_Int32 column, const Referenc
/* {{{ OResultSet::refreshRow() -U- */
void SAL_CALL OResultSet::refreshRow()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::refreshRow");
MutexGuard aGuard(m_aMutex);
@@ -1152,7 +1152,7 @@ void SAL_CALL OResultSet::refreshRow()
/* {{{ OResultSet::updateObject() -U- */
void SAL_CALL OResultSet::updateObject(sal_Int32 column, const Any& /* x */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::updateObject");
MutexGuard aGuard(m_aMutex);
@@ -1164,7 +1164,7 @@ void SAL_CALL OResultSet::updateObject(sal_Int32 column, const Any& /* x */)
/* {{{ OResultSet::updateNumericObject() -U- */
void SAL_CALL OResultSet::updateNumericObject(sal_Int32 column, const Any& /* x */, sal_Int32 /* scale */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::updateNumericObject");
MutexGuard aGuard(m_aMutex);
@@ -1177,7 +1177,7 @@ void SAL_CALL OResultSet::updateNumericObject(sal_Int32 column, const Any& /* x
// XRowLocate
/* {{{ OResultSet::getBookmark() -U- */
Any SAL_CALL OResultSet::getBookmark()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getBookmark");
MutexGuard aGuard(m_aMutex);
@@ -1193,7 +1193,7 @@ Any SAL_CALL OResultSet::getBookmark()
/* {{{ OResultSet::moveToBookmark() -U- */
sal_Bool SAL_CALL OResultSet::moveToBookmark(const Any& /* bookmark */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::moveToBookmark");
MutexGuard aGuard(m_aMutex);
@@ -1205,7 +1205,7 @@ sal_Bool SAL_CALL OResultSet::moveToBookmark(const Any& /* bookmark */)
/* {{{ OResultSet::moveRelativeToBookmark() -U- */
sal_Bool SAL_CALL OResultSet::moveRelativeToBookmark(const Any& /* bookmark */, sal_Int32 /* rows */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::moveRelativeToBookmark");
MutexGuard aGuard(m_aMutex);
@@ -1218,7 +1218,7 @@ sal_Bool SAL_CALL OResultSet::moveRelativeToBookmark(const Any& /* bookmark */,
/* {{{ OResultSet::compareBookmarks() -I- */
sal_Int32 SAL_CALL OResultSet::compareBookmarks(const Any& /* n1 */, const Any& /* n2 */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::compareBookmarks");
MutexGuard aGuard(m_aMutex);
@@ -1232,7 +1232,7 @@ sal_Int32 SAL_CALL OResultSet::compareBookmarks(const Any& /* n1 */, const Any&
/* {{{ OResultSet::hasOrderedBookmarks() -I- */
sal_Bool SAL_CALL OResultSet::hasOrderedBookmarks()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::hasOrderedBookmarks");
return sal_False;
@@ -1241,7 +1241,7 @@ sal_Bool SAL_CALL OResultSet::hasOrderedBookmarks()
/* {{{ OResultSet::hashBookmark() -U- */
sal_Int32 SAL_CALL OResultSet::hashBookmark(const Any& /* bookmark */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::hashBookmark");
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OResultSet::hashBookmark", *this);
@@ -1252,7 +1252,7 @@ sal_Int32 SAL_CALL OResultSet::hashBookmark(const Any& /* bookmark */)
// XDeleteRows
/* {{{ OResultSet::deleteRows() -U- */
Sequence< sal_Int32 > SAL_CALL OResultSet::deleteRows(const Sequence< Any >& /* rows */)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::deleteRows");
MutexGuard aGuard(m_aMutex);
@@ -1314,7 +1314,7 @@ sal_Bool OResultSet::convertFastPropertyValue(Any & /* rConvertedValue */,
/* {{{ OResultSet::setFastPropertyValue_NoBroadcast() -I- */
void OResultSet::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const Any& /* rValue */)
- throw (Exception)
+ throw (Exception, std::exception)
{
OSL_TRACE("OResultSet::setFastPropertyValue_NoBroadcast");
switch (nHandle) {
@@ -1381,7 +1381,7 @@ void SAL_CALL OResultSet::release()
/* }}} */
/* {{{ OResultSet::getPropertySetInfo() -I- */
-::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL OResultSet::getPropertySetInfo() throw(::com::sun::star::uno::RuntimeException)
+::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL OResultSet::getPropertySetInfo() throw(::com::sun::star::uno::RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getPropertySetInfo");
return (::cppu::OPropertySetHelper::createPropertySetInfo(getInfoHelper()));
diff --git a/mysqlc/source/mysqlc_resultset.hxx b/mysqlc/source/mysqlc_resultset.hxx
index 465e81c3dce6..f903de958364 100644
--- a/mysqlc/source/mysqlc_resultset.hxx
+++ b/mysqlc/source/mysqlc_resultset.hxx
@@ -85,7 +85,7 @@ namespace connectivity
throw (::com::sun::star::lang::IllegalArgumentException);
void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const Any& rValue)
- throw (::com::sun::star::uno::Exception);
+ throw (::com::sun::star::uno::Exception, std::exception);
void SAL_CALL getFastPropertyValue(Any& rValue, sal_Int32 nHandle) const;
@@ -94,14 +94,14 @@ namespace connectivity
public:
virtual OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException) SAL_OVERRIDE;
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService(
- OUString const & ServiceName) throw (css::uno::RuntimeException)
+ OUString const & ServiceName) throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE;
virtual css::uno::Sequence<OUString> SAL_CALL
- getSupportedServiceNames() throw (css::uno::RuntimeException)
+ getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE;
OResultSet( OCommonStatement* pStmt, sql::ResultSet *result, rtl_TextEncoding _encoding );
@@ -116,157 +116,157 @@ namespace connectivity
// XInterface
Any SAL_CALL queryInterface(const ::com::sun::star::uno::Type & rType)
- throw(RuntimeException);
+ throw(RuntimeException, std::exception);
void SAL_CALL acquire() throw();
void SAL_CALL release() throw();
//XTypeProvider
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes()
- throw(RuntimeException);
+ throw(RuntimeException, std::exception);
// XPropertySet
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo()
- throw(RuntimeException);
+ throw(RuntimeException, std::exception);
// XResultSet
- sal_Bool SAL_CALL next() throw(SQLException, RuntimeException);
- sal_Bool SAL_CALL isBeforeFirst() throw(SQLException, RuntimeException);
- sal_Bool SAL_CALL isAfterLast() throw(SQLException, RuntimeException);
- sal_Bool SAL_CALL isFirst() throw(SQLException, RuntimeException);
- sal_Bool SAL_CALL isLast() throw(SQLException, RuntimeException);
+ sal_Bool SAL_CALL next() throw(SQLException, RuntimeException, std::exception);
+ sal_Bool SAL_CALL isBeforeFirst() throw(SQLException, RuntimeException, std::exception);
+ sal_Bool SAL_CALL isAfterLast() throw(SQLException, RuntimeException, std::exception);
+ sal_Bool SAL_CALL isFirst() throw(SQLException, RuntimeException, std::exception);
+ sal_Bool SAL_CALL isLast() throw(SQLException, RuntimeException, std::exception);
- void SAL_CALL beforeFirst() throw(SQLException, RuntimeException);
- void SAL_CALL afterLast() throw(SQLException, RuntimeException);
+ void SAL_CALL beforeFirst() throw(SQLException, RuntimeException, std::exception);
+ void SAL_CALL afterLast() throw(SQLException, RuntimeException, std::exception);
- sal_Bool SAL_CALL first() throw(SQLException, RuntimeException);
- sal_Bool SAL_CALL last() throw(SQLException, RuntimeException);
+ sal_Bool SAL_CALL first() throw(SQLException, RuntimeException, std::exception);
+ sal_Bool SAL_CALL last() throw(SQLException, RuntimeException, std::exception);
- sal_Int32 SAL_CALL getRow() throw(SQLException, RuntimeException);
+ sal_Int32 SAL_CALL getRow() throw(SQLException, RuntimeException, std::exception);
- sal_Bool SAL_CALL absolute(sal_Int32 row) throw(SQLException, RuntimeException);
- sal_Bool SAL_CALL relative(sal_Int32 rows) throw(SQLException, RuntimeException);
- sal_Bool SAL_CALL previous() throw(SQLException, RuntimeException);
+ sal_Bool SAL_CALL absolute(sal_Int32 row) throw(SQLException, RuntimeException, std::exception);
+ sal_Bool SAL_CALL relative(sal_Int32 rows) throw(SQLException, RuntimeException, std::exception);
+ sal_Bool SAL_CALL previous() throw(SQLException, RuntimeException, std::exception);
- void SAL_CALL refreshRow() throw(SQLException, RuntimeException);
+ void SAL_CALL refreshRow() throw(SQLException, RuntimeException, std::exception);
- sal_Bool SAL_CALL rowUpdated() throw(SQLException, RuntimeException);
- sal_Bool SAL_CALL rowInserted() throw(SQLException, RuntimeException);
- sal_Bool SAL_CALL rowDeleted() throw(SQLException, RuntimeException);
+ sal_Bool SAL_CALL rowUpdated() throw(SQLException, RuntimeException, std::exception);
+ sal_Bool SAL_CALL rowInserted() throw(SQLException, RuntimeException, std::exception);
+ sal_Bool SAL_CALL rowDeleted() throw(SQLException, RuntimeException, std::exception);
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL getStatement()
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
// XRow
- sal_Bool SAL_CALL wasNull() throw(SQLException, RuntimeException);
+ sal_Bool SAL_CALL wasNull() throw(SQLException, RuntimeException, std::exception);
- OUString SAL_CALL getString(sal_Int32 column) throw(SQLException, RuntimeException);
+ OUString SAL_CALL getString(sal_Int32 column) throw(SQLException, RuntimeException, std::exception);
- sal_Bool SAL_CALL getBoolean(sal_Int32 column) throw(SQLException, RuntimeException);
- sal_Int8 SAL_CALL getByte(sal_Int32 column) throw(SQLException, RuntimeException);
- sal_Int16 SAL_CALL getShort(sal_Int32 column) throw(SQLException, RuntimeException);
- sal_Int32 SAL_CALL getInt(sal_Int32 column) throw(SQLException, RuntimeException);
- sal_Int64 SAL_CALL getLong(sal_Int32 column) throw(SQLException, RuntimeException);
+ sal_Bool SAL_CALL getBoolean(sal_Int32 column) throw(SQLException, RuntimeException, std::exception);
+ sal_Int8 SAL_CALL getByte(sal_Int32 column) throw(SQLException, RuntimeException, std::exception);
+ sal_Int16 SAL_CALL getShort(sal_Int32 column) throw(SQLException, RuntimeException, std::exception);
+ sal_Int32 SAL_CALL getInt(sal_Int32 column) throw(SQLException, RuntimeException, std::exception);
+ sal_Int64 SAL_CALL getLong(sal_Int32 column) throw(SQLException, RuntimeException, std::exception);
- float SAL_CALL getFloat(sal_Int32 column) throw(SQLException, RuntimeException);
- double SAL_CALL getDouble(sal_Int32 column) throw(SQLException, RuntimeException);
+ float SAL_CALL getFloat(sal_Int32 column) throw(SQLException, RuntimeException, std::exception);
+ double SAL_CALL getDouble(sal_Int32 column) throw(SQLException, RuntimeException, std::exception);
::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getBytes(sal_Int32 column)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
::com::sun::star::util::Date SAL_CALL getDate(sal_Int32 column)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
::com::sun::star::util::Time SAL_CALL getTime(sal_Int32 column)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
::com::sun::star::util::DateTime SAL_CALL getTimestamp(sal_Int32 column)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
my_XInputStreamRef SAL_CALL getBinaryStream(sal_Int32 column)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
my_XInputStreamRef SAL_CALL getCharacterStream(sal_Int32 column)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
Any SAL_CALL getObject(sal_Int32 column, const my_XNameAccessRef& typeMap)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRef > SAL_CALL getRef(sal_Int32 column)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XBlob > SAL_CALL getBlob(sal_Int32 column)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XClob > SAL_CALL getClob(sal_Int32 column)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XArray > SAL_CALL getArray(sal_Int32 column)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
// XResultSetMetaDataSupplier
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData > SAL_CALL getMetaData()
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
// XCancellable
- void SAL_CALL cancel() throw(RuntimeException);
+ void SAL_CALL cancel() throw(RuntimeException, std::exception);
// XCloseable
- void SAL_CALL close() throw(SQLException, RuntimeException);
+ void SAL_CALL close() throw(SQLException, RuntimeException, std::exception);
// XWarningsSupplier
- Any SAL_CALL getWarnings() throw(SQLException, RuntimeException);
+ Any SAL_CALL getWarnings() throw(SQLException, RuntimeException, std::exception);
- void SAL_CALL clearWarnings() throw(SQLException, RuntimeException);
+ void SAL_CALL clearWarnings() throw(SQLException, RuntimeException, std::exception);
// XResultSetUpdate
- void SAL_CALL insertRow() throw(SQLException, RuntimeException);
- void SAL_CALL updateRow() throw(SQLException, RuntimeException);
- void SAL_CALL deleteRow() throw(SQLException, RuntimeException);
- void SAL_CALL cancelRowUpdates() throw(SQLException, RuntimeException);
- void SAL_CALL moveToInsertRow() throw(SQLException, RuntimeException);
- void SAL_CALL moveToCurrentRow() throw(SQLException, RuntimeException);
+ void SAL_CALL insertRow() throw(SQLException, RuntimeException, std::exception);
+ void SAL_CALL updateRow() throw(SQLException, RuntimeException, std::exception);
+ void SAL_CALL deleteRow() throw(SQLException, RuntimeException, std::exception);
+ void SAL_CALL cancelRowUpdates() throw(SQLException, RuntimeException, std::exception);
+ void SAL_CALL moveToInsertRow() throw(SQLException, RuntimeException, std::exception);
+ void SAL_CALL moveToCurrentRow() throw(SQLException, RuntimeException, std::exception);
// XRowUpdate
- void SAL_CALL updateNull(sal_Int32 column) throw(SQLException, RuntimeException);
- void SAL_CALL updateBoolean(sal_Int32 column, sal_Bool x) throw(SQLException, RuntimeException);
- void SAL_CALL updateByte(sal_Int32 column, sal_Int8 x) throw(SQLException, RuntimeException);
- void SAL_CALL updateShort(sal_Int32 column, sal_Int16 x) throw(SQLException, RuntimeException);
- void SAL_CALL updateInt(sal_Int32 column, sal_Int32 x) throw(SQLException, RuntimeException);
- void SAL_CALL updateLong(sal_Int32 column, sal_Int64 x) throw(SQLException, RuntimeException);
- void SAL_CALL updateFloat(sal_Int32 column, float x) throw(SQLException, RuntimeException);
- void SAL_CALL updateDouble(sal_Int32 column, double x) throw(SQLException, RuntimeException);
+ void SAL_CALL updateNull(sal_Int32 column) throw(SQLException, RuntimeException, std::exception);
+ void SAL_CALL updateBoolean(sal_Int32 column, sal_Bool x) throw(SQLException, RuntimeException, std::exception);
+ void SAL_CALL updateByte(sal_Int32 column, sal_Int8 x) throw(SQLException, RuntimeException, std::exception);
+ void SAL_CALL updateShort(sal_Int32 column, sal_Int16 x) throw(SQLException, RuntimeException, std::exception);
+ void SAL_CALL updateInt(sal_Int32 column, sal_Int32 x) throw(SQLException, RuntimeException, std::exception);
+ void SAL_CALL updateLong(sal_Int32 column, sal_Int64 x) throw(SQLException, RuntimeException, std::exception);
+ void SAL_CALL updateFloat(sal_Int32 column, float x) throw(SQLException, RuntimeException, std::exception);
+ void SAL_CALL updateDouble(sal_Int32 column, double x) throw(SQLException, RuntimeException, std::exception);
void SAL_CALL updateString(sal_Int32 column, const OUString& x)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
void SAL_CALL updateBytes(sal_Int32 column, const ::com::sun::star::uno::Sequence< sal_Int8 >& x)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
void SAL_CALL updateDate(sal_Int32 column, const ::com::sun::star::util::Date& x)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
void SAL_CALL updateTime(sal_Int32 column, const ::com::sun::star::util::Time& x)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
void SAL_CALL updateTimestamp(sal_Int32 column, const ::com::sun::star::util::DateTime& x)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
void SAL_CALL updateBinaryStream(sal_Int32 column, const my_XInputStreamRef& x, sal_Int32 length)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
void SAL_CALL updateCharacterStream(sal_Int32 column, const my_XInputStreamRef& x, sal_Int32 length)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
void SAL_CALL updateObject(sal_Int32 column, const Any& x)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
void SAL_CALL updateNumericObject(sal_Int32 column, const Any& x, sal_Int32 scale)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
// XColumnLocate
sal_Int32 SAL_CALL findColumn(const OUString& columnName)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
// XRowLocate
- Any SAL_CALL getBookmark() throw(SQLException, RuntimeException);
+ Any SAL_CALL getBookmark() throw(SQLException, RuntimeException, std::exception);
sal_Bool SAL_CALL moveToBookmark(const Any& bookmark)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
sal_Bool SAL_CALL moveRelativeToBookmark(const Any& bookmark, sal_Int32 rows)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
sal_Int32 SAL_CALL compareBookmarks(const Any& first, const Any& second)
- throw(SQLException, RuntimeException);
- sal_Bool SAL_CALL hasOrderedBookmarks() throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
+ sal_Bool SAL_CALL hasOrderedBookmarks() throw(SQLException, RuntimeException, std::exception);
sal_Int32 SAL_CALL hashBookmark(const Any& bookmark)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
// XDeleteRows
::com::sun::star::uno::Sequence< sal_Int32 > SAL_CALL deleteRows(const ::com::sun::star::uno::Sequence< Any >& rows)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
void checkColumnIndex(sal_Int32 index) throw(SQLException, RuntimeException);
diff --git a/mysqlc/source/mysqlc_resultsetmetadata.cxx b/mysqlc/source/mysqlc_resultsetmetadata.cxx
index 5176b46ba1eb..b52ecf036ea2 100644
--- a/mysqlc/source/mysqlc_resultsetmetadata.cxx
+++ b/mysqlc/source/mysqlc_resultsetmetadata.cxx
@@ -37,7 +37,7 @@ OResultSetMetaData::~OResultSetMetaData()
/* {{{ OResultSetMetaData::getColumnDisplaySize() -I- */
sal_Int32 SAL_CALL OResultSetMetaData::getColumnDisplaySize(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSetMetaData::getColumnDisplaySize");
@@ -55,7 +55,7 @@ sal_Int32 SAL_CALL OResultSetMetaData::getColumnDisplaySize(sal_Int32 column)
/* {{{ OResultSetMetaData::getColumnType() -I- */
sal_Int32 SAL_CALL OResultSetMetaData::getColumnType(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSetMetaData::getColumnType");
checkColumnIndex(column);
@@ -78,7 +78,7 @@ sal_Int32 SAL_CALL OResultSetMetaData::getColumnType(sal_Int32 column)
*/
/* {{{ OResultSetMetaData::getColumnCount() -I- */
sal_Int32 SAL_CALL OResultSetMetaData::getColumnCount()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSetMetaData::getColumnCount");
try {
@@ -95,7 +95,7 @@ sal_Int32 SAL_CALL OResultSetMetaData::getColumnCount()
/* {{{ OResultSetMetaData::isCaseSensitive() -I- */
sal_Bool SAL_CALL OResultSetMetaData::isCaseSensitive(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSetMetaData::isCaseSensitive");
checkColumnIndex(column);
@@ -114,7 +114,7 @@ sal_Bool SAL_CALL OResultSetMetaData::isCaseSensitive(sal_Int32 column)
/* {{{ OResultSetMetaData::getSchemaName() -I- */
OUString SAL_CALL OResultSetMetaData::getSchemaName(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSetMetaData::getSchemaName");
checkColumnIndex(column);
@@ -133,7 +133,7 @@ OUString SAL_CALL OResultSetMetaData::getSchemaName(sal_Int32 column)
/* {{{ OResultSetMetaData::getColumnName() -I- */
OUString SAL_CALL OResultSetMetaData::getColumnName(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSetMetaData::getColumnName");
checkColumnIndex(column);
@@ -152,7 +152,7 @@ OUString SAL_CALL OResultSetMetaData::getColumnName(sal_Int32 column)
/* {{{ OResultSetMetaData::getTableName() -I- */
OUString SAL_CALL OResultSetMetaData::getTableName(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSetMetaData::getTableName");
checkColumnIndex(column);
@@ -171,7 +171,7 @@ OUString SAL_CALL OResultSetMetaData::getTableName(sal_Int32 column)
/* {{{ OResultSetMetaData::getCatalogName() -I- */
OUString SAL_CALL OResultSetMetaData::getCatalogName(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSetMetaData::getCatalogName");
checkColumnIndex(column);
@@ -190,7 +190,7 @@ OUString SAL_CALL OResultSetMetaData::getCatalogName(sal_Int32 column)
/* {{{ OResultSetMetaData::getColumnTypeName() -I- */
OUString SAL_CALL OResultSetMetaData::getColumnTypeName(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSetMetaData::getColumnTypeName");
checkColumnIndex(column);
@@ -209,7 +209,7 @@ OUString SAL_CALL OResultSetMetaData::getColumnTypeName(sal_Int32 column)
/* {{{ OResultSetMetaData::getColumnLabel() -I- */
OUString SAL_CALL OResultSetMetaData::getColumnLabel(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSetMetaData::getColumnLabel");
checkColumnIndex(column);
@@ -228,7 +228,7 @@ OUString SAL_CALL OResultSetMetaData::getColumnLabel(sal_Int32 column)
/* {{{ OResultSetMetaData::getColumnServiceName() -I- */
OUString SAL_CALL OResultSetMetaData::getColumnServiceName(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSetMetaData::getColumnServiceName");
checkColumnIndex(column);
@@ -241,7 +241,7 @@ OUString SAL_CALL OResultSetMetaData::getColumnServiceName(sal_Int32 column)
/* {{{ OResultSetMetaData::isCurrency() -I- */
sal_Bool SAL_CALL OResultSetMetaData::isCurrency(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSetMetaData::isCurrency");
checkColumnIndex(column);
@@ -260,7 +260,7 @@ sal_Bool SAL_CALL OResultSetMetaData::isCurrency(sal_Int32 column)
/* {{{ OResultSetMetaData::isAutoIncrement() -I- */
sal_Bool SAL_CALL OResultSetMetaData::isAutoIncrement(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSetMetaData::isAutoIncrement");
checkColumnIndex(column);
@@ -279,7 +279,7 @@ sal_Bool SAL_CALL OResultSetMetaData::isAutoIncrement(sal_Int32 column)
/* {{{ OResultSetMetaData::isSigned() -I- */
sal_Bool SAL_CALL OResultSetMetaData::isSigned(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSetMetaData::isSigned");
checkColumnIndex(column);
@@ -298,7 +298,7 @@ sal_Bool SAL_CALL OResultSetMetaData::isSigned(sal_Int32 column)
/* {{{ OResultSetMetaData::getPrecision() -I- */
sal_Int32 SAL_CALL OResultSetMetaData::getPrecision(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSetMetaData::getPrecision");
checkColumnIndex(column);
@@ -317,7 +317,7 @@ sal_Int32 SAL_CALL OResultSetMetaData::getPrecision(sal_Int32 column)
/* {{{ OResultSetMetaData::getScale() -I- */
sal_Int32 SAL_CALL OResultSetMetaData::getScale(sal_Int32 column)
- throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException)
+ throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception)
{
OSL_TRACE("OResultSetMetaData::getScale");
checkColumnIndex(column);
@@ -335,7 +335,7 @@ sal_Int32 SAL_CALL OResultSetMetaData::getScale(sal_Int32 column)
/* {{{ OResultSetMetaData::isNullable() -I- */
sal_Int32 SAL_CALL OResultSetMetaData::isNullable(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSetMetaData::isNullable");
checkColumnIndex(column);
@@ -354,7 +354,7 @@ sal_Int32 SAL_CALL OResultSetMetaData::isNullable(sal_Int32 column)
/* {{{ OResultSetMetaData::isSearchable() -I- */
sal_Bool SAL_CALL OResultSetMetaData::isSearchable(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSetMetaData::isSearchable");
checkColumnIndex(column);
@@ -373,7 +373,7 @@ sal_Bool SAL_CALL OResultSetMetaData::isSearchable(sal_Int32 column)
/* {{{ OResultSetMetaData::isReadOnly() -I- */
sal_Bool SAL_CALL OResultSetMetaData::isReadOnly(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSetMetaData::isReadOnly");
checkColumnIndex(column);
@@ -392,7 +392,7 @@ sal_Bool SAL_CALL OResultSetMetaData::isReadOnly(sal_Int32 column)
/* {{{ OResultSetMetaData::isDefinitelyWritable() -I- */
sal_Bool SAL_CALL OResultSetMetaData::isDefinitelyWritable(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSetMetaData::isDefinitelyWritable");
checkColumnIndex(column);
@@ -411,7 +411,7 @@ sal_Bool SAL_CALL OResultSetMetaData::isDefinitelyWritable(sal_Int32 column)
/* {{{ OResultSetMetaData::isWritable() -I- */
sal_Bool SAL_CALL OResultSetMetaData::isWritable(sal_Int32 column)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSetMetaData::isWritable");
checkColumnIndex(column);
diff --git a/mysqlc/source/mysqlc_resultsetmetadata.hxx b/mysqlc/source/mysqlc_resultsetmetadata.hxx
index b92b567d6d7f..f00dd68618a5 100644
--- a/mysqlc/source/mysqlc_resultsetmetadata.hxx
+++ b/mysqlc/source/mysqlc_resultsetmetadata.hxx
@@ -60,38 +60,38 @@ namespace connectivity
inline operator ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData > () throw()
{ return this; }
- sal_Int32 SAL_CALL getColumnCount() throw(SQLException, RuntimeException);
+ sal_Int32 SAL_CALL getColumnCount() throw(SQLException, RuntimeException, std::exception);
- sal_Bool SAL_CALL isAutoIncrement(sal_Int32 column) throw(SQLException, RuntimeException);
- sal_Bool SAL_CALL isCaseSensitive(sal_Int32 column) throw(SQLException, RuntimeException);
- sal_Bool SAL_CALL isSearchable(sal_Int32 column) throw(SQLException, RuntimeException);
- sal_Bool SAL_CALL isCurrency(sal_Int32 column) throw(SQLException, RuntimeException);
+ sal_Bool SAL_CALL isAutoIncrement(sal_Int32 column) throw(SQLException, RuntimeException, std::exception);
+ sal_Bool SAL_CALL isCaseSensitive(sal_Int32 column) throw(SQLException, RuntimeException, std::exception);
+ sal_Bool SAL_CALL isSearchable(sal_Int32 column) throw(SQLException, RuntimeException, std::exception);
+ sal_Bool SAL_CALL isCurrency(sal_Int32 column) throw(SQLException, RuntimeException, std::exception);
- sal_Int32 SAL_CALL isNullable(sal_Int32 column) throw(SQLException, RuntimeException);
+ sal_Int32 SAL_CALL isNullable(sal_Int32 column) throw(SQLException, RuntimeException, std::exception);
- sal_Bool SAL_CALL isSigned(sal_Int32 column) throw(SQLException, RuntimeException);
+ sal_Bool SAL_CALL isSigned(sal_Int32 column) throw(SQLException, RuntimeException, std::exception);
- sal_Int32 SAL_CALL getColumnDisplaySize(sal_Int32 column)throw(SQLException, RuntimeException);
+ sal_Int32 SAL_CALL getColumnDisplaySize(sal_Int32 column)throw(SQLException, RuntimeException, std::exception);
- OUString SAL_CALL getColumnLabel(sal_Int32 column) throw(SQLException, RuntimeException);
- OUString SAL_CALL getColumnName(sal_Int32 column) throw(SQLException, RuntimeException);
- OUString SAL_CALL getSchemaName(sal_Int32 column) throw(SQLException, RuntimeException);
+ OUString SAL_CALL getColumnLabel(sal_Int32 column) throw(SQLException, RuntimeException, std::exception);
+ OUString SAL_CALL getColumnName(sal_Int32 column) throw(SQLException, RuntimeException, std::exception);
+ OUString SAL_CALL getSchemaName(sal_Int32 column) throw(SQLException, RuntimeException, std::exception);
- sal_Int32 SAL_CALL getPrecision(sal_Int32 column) throw(SQLException, RuntimeException);
- sal_Int32 SAL_CALL getScale(sal_Int32 column) throw(SQLException, RuntimeException);
+ sal_Int32 SAL_CALL getPrecision(sal_Int32 column) throw(SQLException, RuntimeException, std::exception);
+ sal_Int32 SAL_CALL getScale(sal_Int32 column) throw(SQLException, RuntimeException, std::exception);
- OUString SAL_CALL getTableName(sal_Int32 column) throw(SQLException, RuntimeException);
- OUString SAL_CALL getCatalogName(sal_Int32 column) throw(SQLException, RuntimeException);
+ OUString SAL_CALL getTableName(sal_Int32 column) throw(SQLException, RuntimeException, std::exception);
+ OUString SAL_CALL getCatalogName(sal_Int32 column) throw(SQLException, RuntimeException, std::exception);
- sal_Int32 SAL_CALL getColumnType(sal_Int32 column) throw(SQLException, RuntimeException);
+ sal_Int32 SAL_CALL getColumnType(sal_Int32 column) throw(SQLException, RuntimeException, std::exception);
- OUString SAL_CALL getColumnTypeName(sal_Int32 column) throw(SQLException, RuntimeException);
+ OUString SAL_CALL getColumnTypeName(sal_Int32 column) throw(SQLException, RuntimeException, std::exception);
- sal_Bool SAL_CALL isReadOnly(sal_Int32 column) throw(SQLException, RuntimeException);
- sal_Bool SAL_CALL isWritable(sal_Int32 column) throw(SQLException, RuntimeException);
- sal_Bool SAL_CALL isDefinitelyWritable(sal_Int32 column)throw(SQLException, RuntimeException);
+ sal_Bool SAL_CALL isReadOnly(sal_Int32 column) throw(SQLException, RuntimeException, std::exception);
+ sal_Bool SAL_CALL isWritable(sal_Int32 column) throw(SQLException, RuntimeException, std::exception);
+ sal_Bool SAL_CALL isDefinitelyWritable(sal_Int32 column)throw(SQLException, RuntimeException, std::exception);
- OUString SAL_CALL getColumnServiceName(sal_Int32 column)throw(SQLException, RuntimeException);
+ OUString SAL_CALL getColumnServiceName(sal_Int32 column)throw(SQLException, RuntimeException, std::exception);
void checkColumnIndex(sal_Int32 columnIndex) throw (SQLException, RuntimeException);
};
diff --git a/mysqlc/source/mysqlc_statement.cxx b/mysqlc/source/mysqlc_statement.cxx
index 7fce927430eb..ca7dd9f83e70 100644
--- a/mysqlc/source/mysqlc_statement.cxx
+++ b/mysqlc/source/mysqlc_statement.cxx
@@ -104,7 +104,7 @@ void OCommonStatement::disposing()
/* {{{ OCommonStatement::queryInterface() -I- */
Any SAL_CALL OCommonStatement::queryInterface(const Type & rType)
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
OSL_TRACE("OCommonStatement::queryInterface");
Any aRet = OCommonStatement_IBase::queryInterface(rType);
@@ -118,7 +118,7 @@ Any SAL_CALL OCommonStatement::queryInterface(const Type & rType)
/* {{{ OCommonStatement::getTypes() -I- */
Sequence< Type > SAL_CALL OCommonStatement::getTypes()
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
OSL_TRACE("OCommonStatement::getTypes");
::cppu::OTypeCollection aTypes( ::getCppuType( (const Reference< XMultiPropertySet > *)0 ),
@@ -132,7 +132,7 @@ Sequence< Type > SAL_CALL OCommonStatement::getTypes()
/* {{{ OCommonStatement::cancel() -I- */
void SAL_CALL OCommonStatement::cancel()
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
OSL_TRACE("OCommonStatement::cancel");
MutexGuard aGuard(m_aMutex);
@@ -144,7 +144,7 @@ void SAL_CALL OCommonStatement::cancel()
/* {{{ OCommonStatement::close() -I- */
void SAL_CALL OCommonStatement::close()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OCommonStatement::close");
/*
@@ -162,7 +162,7 @@ void SAL_CALL OCommonStatement::close()
/* {{{ OStatement::clearBatch() -I- */
void SAL_CALL OStatement::clearBatch()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OStatement::clearBatch");
// if you support batches clear it here
@@ -172,7 +172,7 @@ void SAL_CALL OStatement::clearBatch()
/* {{{ OStatement::execute() -I- */
sal_Bool SAL_CALL OCommonStatement::execute(const OUString& sql)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OCommonStatement::execute");
MutexGuard aGuard(m_aMutex);
@@ -192,7 +192,7 @@ sal_Bool SAL_CALL OCommonStatement::execute(const OUString& sql)
/* {{{ OStatement::executeQuery() -I- */
Reference< XResultSet > SAL_CALL OCommonStatement::executeQuery(const OUString& sql)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OCommonStatement::executeQuery");
@@ -215,7 +215,7 @@ Reference< XResultSet > SAL_CALL OCommonStatement::executeQuery(const OUString&
/* {{{ OStatement::getConnection() -I- */
Reference< XConnection > SAL_CALL OCommonStatement::getConnection()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OCommonStatement::getConnection");
MutexGuard aGuard(m_aMutex);
@@ -229,7 +229,7 @@ Reference< XConnection > SAL_CALL OCommonStatement::getConnection()
/* {{{ OStatement::getUpdateCount() -I- */
sal_Int32 SAL_CALL OCommonStatement::getUpdateCount()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OCommonStatement::getUpdateCount");
return 0;
@@ -239,7 +239,7 @@ sal_Int32 SAL_CALL OCommonStatement::getUpdateCount()
/* {{{ OStatement::queryInterface() -I- */
Any SAL_CALL OStatement::queryInterface(const Type & rType)
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
OSL_TRACE("OStatement::queryInterface");
Any aRet = ::cppu::queryInterface(rType,static_cast< XBatchExecution*> (this));
@@ -253,7 +253,7 @@ Any SAL_CALL OStatement::queryInterface(const Type & rType)
/* {{{ OStatement::addBatch() -I- */
void SAL_CALL OStatement::addBatch(const OUString& sql)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OStatement::addBatch");
MutexGuard aGuard(m_aMutex);
@@ -266,7 +266,7 @@ void SAL_CALL OStatement::addBatch(const OUString& sql)
/* {{{ OStatement::executeBatch() -I- */
Sequence< sal_Int32 > SAL_CALL OStatement::executeBatch()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OStatement::executeBatch");
MutexGuard aGuard(m_aMutex);
@@ -280,7 +280,7 @@ Sequence< sal_Int32 > SAL_CALL OStatement::executeBatch()
/* {{{ OCommonStatement::executeUpdate() -I- */
sal_Int32 SAL_CALL OCommonStatement::executeUpdate(const OUString& sql)
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OCommonStatement::executeUpdate");
MutexGuard aGuard(m_aMutex);
@@ -300,7 +300,7 @@ sal_Int32 SAL_CALL OCommonStatement::executeUpdate(const OUString& sql)
/* {{{ OCommonStatement::getResultSet() -I- */
Reference< XResultSet > SAL_CALL OCommonStatement::getResultSet()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OCommonStatement::getResultSet");
MutexGuard aGuard(m_aMutex);
@@ -321,7 +321,7 @@ Reference< XResultSet > SAL_CALL OCommonStatement::getResultSet()
/* {{{ OCommonStatement::getMoreResults() -I- */
sal_Bool SAL_CALL OCommonStatement::getMoreResults()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OCommonStatement::getMoreResults");
MutexGuard aGuard(m_aMutex);
@@ -336,7 +336,7 @@ sal_Bool SAL_CALL OCommonStatement::getMoreResults()
/* {{{ OCommonStatement::getWarnings() -I- */
Any SAL_CALL OCommonStatement::getWarnings()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OCommonStatement::getWarnings");
MutexGuard aGuard(m_aMutex);
@@ -349,7 +349,7 @@ Any SAL_CALL OCommonStatement::getWarnings()
/* {{{ OCommonStatement::clearWarnings() -I- */
void SAL_CALL OCommonStatement::clearWarnings()
- throw(SQLException, RuntimeException)
+ throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OCommonStatement::clearWarnings");
MutexGuard aGuard(m_aMutex);
@@ -410,7 +410,7 @@ sal_Bool OCommonStatement::convertFastPropertyValue(
/* {{{ OCommonStatement::setFastPropertyValue_NoBroadcast() -I- */
void OCommonStatement::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const Any& /* rValue */)
- throw (Exception)
+ throw (Exception, std::exception)
{
OSL_TRACE("OCommonStatement::setFastPropertyValue_NoBroadcast");
// set the value to what ever is necessary
@@ -456,13 +456,13 @@ void OCommonStatement::getFastPropertyValue(Any& _rValue, sal_Int32 nHandle) con
}
/* }}} */
-OUString OStatement::getImplementationName() throw (css::uno::RuntimeException)
+OUString OStatement::getImplementationName() throw (css::uno::RuntimeException, std::exception)
{
return OUString("com.sun.star.sdbcx.OStatement");
}
css::uno::Sequence<OUString> OStatement::getSupportedServiceNames()
- throw (css::uno::RuntimeException)
+ throw (css::uno::RuntimeException, std::exception)
{
css::uno::Sequence<OUString> s(1);
s[0] = "com.sun.star.sdbc.Statement";
@@ -470,7 +470,7 @@ css::uno::Sequence<OUString> OStatement::getSupportedServiceNames()
}
sal_Bool OStatement::supportsService(OUString const & ServiceName)
- throw (css::uno::RuntimeException)
+ throw (css::uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, ServiceName);
}
@@ -517,7 +517,7 @@ void SAL_CALL OStatement::release()
/* {{{ OCommonStatement::getPropertySetInfo() -I- */
Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL OCommonStatement::getPropertySetInfo()
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
OSL_TRACE("OCommonStatement::getPropertySetInfo");
return(::cppu::OPropertySetHelper::createPropertySetInfo(getInfoHelper()));
diff --git a/mysqlc/source/mysqlc_statement.hxx b/mysqlc/source/mysqlc_statement.hxx
index ed9f9f896218..eb05aaf77767 100644
--- a/mysqlc/source/mysqlc_statement.hxx
+++ b/mysqlc/source/mysqlc_statement.hxx
@@ -90,7 +90,7 @@ namespace connectivity
throw (::com::sun::star::lang::IllegalArgumentException);
void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const Any& rValue)
- throw(::com::sun::star::uno::Exception);
+ throw(::com::sun::star::uno::Exception, std::exception);
void SAL_CALL getFastPropertyValue(Any& rValue, sal_Int32 nHandle) const;
virtual ~OCommonStatement();
@@ -112,47 +112,47 @@ namespace connectivity
// XInterface
Any SAL_CALL queryInterface(const ::com::sun::star::uno::Type & rType)
- throw(RuntimeException);
+ throw(RuntimeException, std::exception);
//XTypeProvider
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes()
- throw(RuntimeException);
+ throw(RuntimeException, std::exception);
// XPropertySet
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo()
- throw(RuntimeException);
+ throw(RuntimeException, std::exception);
// XStatement
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL executeQuery(const OUString& sql)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
sal_Int32 SAL_CALL executeUpdate(const OUString& sql)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
sal_Bool SAL_CALL execute( const OUString& sql )
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > SAL_CALL getConnection()
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
// XWarningsSupplier
- Any SAL_CALL getWarnings() throw(SQLException, RuntimeException);
+ Any SAL_CALL getWarnings() throw(SQLException, RuntimeException, std::exception);
- void SAL_CALL clearWarnings() throw(SQLException, RuntimeException);
+ void SAL_CALL clearWarnings() throw(SQLException, RuntimeException, std::exception);
// XCancellable
- void SAL_CALL cancel() throw(RuntimeException);
+ void SAL_CALL cancel() throw(RuntimeException, std::exception);
// XCloseable
- void SAL_CALL close() throw(SQLException, RuntimeException);
+ void SAL_CALL close() throw(SQLException, RuntimeException, std::exception);
// XMultipleResults
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getResultSet()
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
- sal_Int32 SAL_CALL getUpdateCount() throw(SQLException, RuntimeException);
+ sal_Int32 SAL_CALL getUpdateCount() throw(SQLException, RuntimeException, std::exception);
- sal_Bool SAL_CALL getMoreResults() throw(SQLException, RuntimeException);
+ sal_Bool SAL_CALL getMoreResults() throw(SQLException, RuntimeException, std::exception);
// other methods
OConnection* getOwnConnection() const { return m_pConnection;}
@@ -175,30 +175,30 @@ namespace connectivity
OStatement(OConnection* _pConnection, sql::Statement *_cppStatement) : OCommonStatement(_pConnection, _cppStatement) {}
virtual OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException) SAL_OVERRIDE;
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService(
- OUString const & ServiceName) throw (css::uno::RuntimeException)
+ OUString const & ServiceName) throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE;
virtual css::uno::Sequence<OUString> SAL_CALL
- getSupportedServiceNames() throw (css::uno::RuntimeException)
+ getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE;
Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType )
- throw(RuntimeException);
+ throw(RuntimeException, std::exception);
void SAL_CALL acquire() throw();
void SAL_CALL release() throw();
// XBatchExecution
void SAL_CALL addBatch(const OUString& sql)
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
- void SAL_CALL clearBatch() throw(SQLException, RuntimeException);
+ void SAL_CALL clearBatch() throw(SQLException, RuntimeException, std::exception);
::com::sun::star::uno::Sequence< sal_Int32 > SAL_CALL executeBatch()
- throw(SQLException, RuntimeException);
+ throw(SQLException, RuntimeException, std::exception);
};
}