diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-27 10:37:08 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-27 10:40:41 +0100 |
commit | b61214c91d926ea56f2cae309469da588b3304b1 (patch) | |
tree | 9e2c99e3cfac09d4f6f9cb7f39107c916a301445 /mysqlc/source/mysqlc_resultset.cxx | |
parent | d1f31681623696e99b0bd9e98570cb1ebac518cc (diff) |
Remove dynamic exception specifications from !LIBO_INTERNAL_ONLY
...only odk/examples/ remains to be clean up
Change-Id: I875a1e8d6750b6b007bd75126b8010273e1f32d5
Diffstat (limited to 'mysqlc/source/mysqlc_resultset.cxx')
-rw-r--r-- | mysqlc/source/mysqlc_resultset.cxx | 86 |
1 files changed, 3 insertions, 83 deletions
diff --git a/mysqlc/source/mysqlc_resultset.cxx b/mysqlc/source/mysqlc_resultset.cxx index 6c9f5209d6e9..ef112b931b8b 100644 --- a/mysqlc/source/mysqlc_resultset.cxx +++ b/mysqlc/source/mysqlc_resultset.cxx @@ -50,13 +50,11 @@ using ::osl::MutexGuard; #include <stdio.h> rtl::OUString SAL_CALL OResultSet::getImplementationName() - throw (RuntimeException, std::exception) { return rtl::OUString( "com.sun.star.sdbcx.mysqlc.ResultSet" ); } Sequence< rtl::OUString > SAL_CALL OResultSet::getSupportedServiceNames() - throw(RuntimeException, std::exception) { Sequence< rtl::OUString > aSupported(2); aSupported[0] = "com.sun.star.sdbc.ResultSet"; @@ -65,7 +63,6 @@ Sequence< rtl::OUString > SAL_CALL OResultSet::getSupportedServiceNames() } sal_Bool SAL_CALL OResultSet::supportsService(const rtl::OUString& _rServiceName) - throw(RuntimeException, std::exception) { return cppu::supportsService(this, _rServiceName); } @@ -102,7 +99,6 @@ void OResultSet::disposing() } Any SAL_CALL OResultSet::queryInterface(const Type & rType) - throw(RuntimeException, std::exception) { Any aRet = OPropertySetHelper::queryInterface(rType); if (!aRet.hasValue()) { @@ -112,7 +108,6 @@ Any SAL_CALL OResultSet::queryInterface(const Type & rType) } Sequence< Type > SAL_CALL OResultSet::getTypes() - throw(RuntimeException, std::exception) { OTypeCollection aTypes( cppu::UnoType<XMultiPropertySet>::get(), cppu::UnoType<XFastPropertySet>::get(), @@ -122,7 +117,6 @@ Sequence< Type > SAL_CALL OResultSet::getTypes() } sal_Int32 SAL_CALL OResultSet::findColumn(const rtl::OUString& columnName) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -149,7 +143,6 @@ sal_Int32 SAL_CALL OResultSet::findColumn(const rtl::OUString& columnName) } Reference< XInputStream > SAL_CALL OResultSet::getBinaryStream(sal_Int32 column) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -160,7 +153,6 @@ Reference< XInputStream > SAL_CALL OResultSet::getBinaryStream(sal_Int32 column) } Reference< XInputStream > SAL_CALL OResultSet::getCharacterStream(sal_Int32 column) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -171,7 +163,6 @@ Reference< XInputStream > SAL_CALL OResultSet::getCharacterStream(sal_Int32 colu } sal_Bool SAL_CALL OResultSet::getBoolean(sal_Int32 column) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -186,7 +177,6 @@ sal_Bool SAL_CALL OResultSet::getBoolean(sal_Int32 column) } sal_Int8 SAL_CALL OResultSet::getByte(sal_Int32 column) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -201,7 +191,6 @@ sal_Int8 SAL_CALL OResultSet::getByte(sal_Int32 column) } Sequence< sal_Int8 > SAL_CALL OResultSet::getBytes(sal_Int32 column) - throw(SQLException, RuntimeException, std::exception) { checkDisposed(OResultSet_BASE::rBHelper.bDisposed); MutexGuard aGuard(m_aMutex); @@ -215,7 +204,6 @@ Sequence< sal_Int8 > SAL_CALL OResultSet::getBytes(sal_Int32 column) } Date SAL_CALL OResultSet::getDate(sal_Int32 column) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -250,7 +238,6 @@ Date SAL_CALL OResultSet::getDate(sal_Int32 column) } double SAL_CALL OResultSet::getDouble(sal_Int32 column) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -265,7 +252,6 @@ double SAL_CALL OResultSet::getDouble(sal_Int32 column) } float SAL_CALL OResultSet::getFloat(sal_Int32 column) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -280,7 +266,6 @@ float SAL_CALL OResultSet::getFloat(sal_Int32 column) } sal_Int32 SAL_CALL OResultSet::getInt(sal_Int32 column) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -295,7 +280,6 @@ sal_Int32 SAL_CALL OResultSet::getInt(sal_Int32 column) } sal_Int32 SAL_CALL OResultSet::getRow() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -309,7 +293,6 @@ sal_Int32 SAL_CALL OResultSet::getRow() } sal_Int64 SAL_CALL OResultSet::getLong(sal_Int32 column) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -324,7 +307,6 @@ sal_Int64 SAL_CALL OResultSet::getLong(sal_Int32 column) } Reference< XResultSetMetaData > SAL_CALL OResultSet::getMetaData() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -341,7 +323,6 @@ Reference< XResultSetMetaData > SAL_CALL OResultSet::getMetaData() } Reference< XArray > SAL_CALL OResultSet::getArray(sal_Int32 column) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -352,7 +333,6 @@ Reference< XArray > SAL_CALL OResultSet::getArray(sal_Int32 column) } Reference< XClob > SAL_CALL OResultSet::getClob(sal_Int32 column) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -363,7 +343,6 @@ Reference< XClob > SAL_CALL OResultSet::getClob(sal_Int32 column) } Reference< XBlob > SAL_CALL OResultSet::getBlob(sal_Int32 column) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -374,7 +353,6 @@ Reference< XBlob > SAL_CALL OResultSet::getBlob(sal_Int32 column) } Reference< XRef > SAL_CALL OResultSet::getRef(sal_Int32 column) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -385,7 +363,6 @@ Reference< XRef > SAL_CALL OResultSet::getRef(sal_Int32 column) } Any SAL_CALL OResultSet::getObject(sal_Int32 column, const Reference< XNameAccess >& /* typeMap */) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -398,7 +375,6 @@ Any SAL_CALL OResultSet::getObject(sal_Int32 column, const Reference< XNameAcces } sal_Int16 SAL_CALL OResultSet::getShort(sal_Int32 column) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -412,7 +388,6 @@ sal_Int16 SAL_CALL OResultSet::getShort(sal_Int32 column) } rtl::OUString SAL_CALL OResultSet::getString(sal_Int32 column) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -433,7 +408,6 @@ rtl::OUString SAL_CALL OResultSet::getString(sal_Int32 column) } Time SAL_CALL OResultSet::getTime(sal_Int32 column) - throw(SQLException, RuntimeException, std::exception) { checkDisposed(OResultSet_BASE::rBHelper.bDisposed); MutexGuard aGuard(m_aMutex); @@ -466,7 +440,6 @@ Time SAL_CALL OResultSet::getTime(sal_Int32 column) } DateTime SAL_CALL OResultSet::getTimestamp(sal_Int32 column) - throw(SQLException, RuntimeException, std::exception) { checkDisposed(OResultSet_BASE::rBHelper.bDisposed); MutexGuard aGuard(m_aMutex); @@ -486,7 +459,6 @@ DateTime SAL_CALL OResultSet::getTimestamp(sal_Int32 column) } sal_Bool SAL_CALL OResultSet::isBeforeFirst() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -500,7 +472,6 @@ sal_Bool SAL_CALL OResultSet::isBeforeFirst() } sal_Bool SAL_CALL OResultSet::isAfterLast() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -514,7 +485,6 @@ sal_Bool SAL_CALL OResultSet::isAfterLast() } sal_Bool SAL_CALL OResultSet::isFirst() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -528,7 +498,6 @@ sal_Bool SAL_CALL OResultSet::isFirst() } sal_Bool SAL_CALL OResultSet::isLast() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -542,7 +511,6 @@ sal_Bool SAL_CALL OResultSet::isLast() } void SAL_CALL OResultSet::beforeFirst() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -555,7 +523,6 @@ void SAL_CALL OResultSet::beforeFirst() } void SAL_CALL OResultSet::afterLast() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -567,7 +534,7 @@ void SAL_CALL OResultSet::afterLast() } } -void SAL_CALL OResultSet::close() throw(SQLException, RuntimeException, std::exception) +void SAL_CALL OResultSet::close() { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -581,7 +548,7 @@ void SAL_CALL OResultSet::close() throw(SQLException, RuntimeException, std::exc dispose(); } -sal_Bool SAL_CALL OResultSet::first() throw(SQLException, RuntimeException, std::exception) +sal_Bool SAL_CALL OResultSet::first() { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -595,7 +562,6 @@ sal_Bool SAL_CALL OResultSet::first() throw(SQLException, RuntimeException, std: } sal_Bool SAL_CALL OResultSet::last() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -609,7 +575,6 @@ sal_Bool SAL_CALL OResultSet::last() } sal_Bool SAL_CALL OResultSet::absolute(sal_Int32 row) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -623,7 +588,6 @@ sal_Bool SAL_CALL OResultSet::absolute(sal_Int32 row) } sal_Bool SAL_CALL OResultSet::relative(sal_Int32 row) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -637,7 +601,6 @@ sal_Bool SAL_CALL OResultSet::relative(sal_Int32 row) } sal_Bool SAL_CALL OResultSet::previous() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -651,7 +614,6 @@ sal_Bool SAL_CALL OResultSet::previous() } Reference< XInterface > SAL_CALL OResultSet::getStatement() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -660,7 +622,6 @@ Reference< XInterface > SAL_CALL OResultSet::getStatement() } sal_Bool SAL_CALL OResultSet::rowDeleted() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -669,7 +630,6 @@ sal_Bool SAL_CALL OResultSet::rowDeleted() } sal_Bool SAL_CALL OResultSet::rowInserted() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -678,7 +638,6 @@ sal_Bool SAL_CALL OResultSet::rowInserted() } sal_Bool SAL_CALL OResultSet::rowUpdated() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -687,7 +646,6 @@ sal_Bool SAL_CALL OResultSet::rowUpdated() } sal_Bool SAL_CALL OResultSet::next() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -701,7 +659,6 @@ sal_Bool SAL_CALL OResultSet::next() } sal_Bool SAL_CALL OResultSet::wasNull() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -715,26 +672,22 @@ sal_Bool SAL_CALL OResultSet::wasNull() } void SAL_CALL OResultSet::cancel() - throw(RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); } void SAL_CALL OResultSet::clearWarnings() - throw(SQLException, RuntimeException, std::exception) { } Any SAL_CALL OResultSet::getWarnings() - throw(SQLException, RuntimeException, std::exception) { Any aRet= Any(); return aRet; } void SAL_CALL OResultSet::insertRow() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -743,7 +696,6 @@ void SAL_CALL OResultSet::insertRow() } void SAL_CALL OResultSet::updateRow() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -753,7 +705,6 @@ void SAL_CALL OResultSet::updateRow() } void SAL_CALL OResultSet::deleteRow() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -761,7 +712,6 @@ void SAL_CALL OResultSet::deleteRow() } void SAL_CALL OResultSet::cancelRowUpdates() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -769,7 +719,6 @@ void SAL_CALL OResultSet::cancelRowUpdates() } void SAL_CALL OResultSet::moveToInsertRow() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -779,14 +728,12 @@ void SAL_CALL OResultSet::moveToInsertRow() } void SAL_CALL OResultSet::moveToCurrentRow() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); } void SAL_CALL OResultSet::updateNull(sal_Int32 column) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -795,7 +742,6 @@ void SAL_CALL OResultSet::updateNull(sal_Int32 column) } void SAL_CALL OResultSet::updateBoolean(sal_Int32 column, sal_Bool /* x */) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -804,7 +750,6 @@ void SAL_CALL OResultSet::updateBoolean(sal_Int32 column, sal_Bool /* x */) } void SAL_CALL OResultSet::updateByte(sal_Int32 column, sal_Int8 /* x */) - throw(SQLException, RuntimeException, std::exception) { checkDisposed(OResultSet_BASE::rBHelper.bDisposed); MutexGuard aGuard(m_aMutex); @@ -813,7 +758,6 @@ void SAL_CALL OResultSet::updateByte(sal_Int32 column, sal_Int8 /* x */) } void SAL_CALL OResultSet::updateShort(sal_Int32 column, sal_Int16 /* x */) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -822,7 +766,6 @@ void SAL_CALL OResultSet::updateShort(sal_Int32 column, sal_Int16 /* x */) } void SAL_CALL OResultSet::updateInt(sal_Int32 column, sal_Int32 /* x */) - throw(SQLException, RuntimeException, std::exception) { checkDisposed(OResultSet_BASE::rBHelper.bDisposed); MutexGuard aGuard(m_aMutex); @@ -831,7 +774,6 @@ void SAL_CALL OResultSet::updateInt(sal_Int32 column, sal_Int32 /* x */) } void SAL_CALL OResultSet::updateLong(sal_Int32 column, sal_Int64 /* x */) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -840,7 +782,6 @@ void SAL_CALL OResultSet::updateLong(sal_Int32 column, sal_Int64 /* x */) } void SAL_CALL OResultSet::updateFloat(sal_Int32 column, float /* x */) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -849,7 +790,6 @@ void SAL_CALL OResultSet::updateFloat(sal_Int32 column, float /* x */) } void SAL_CALL OResultSet::updateDouble(sal_Int32 column, double /* x */) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -858,7 +798,6 @@ void SAL_CALL OResultSet::updateDouble(sal_Int32 column, double /* x */) } void SAL_CALL OResultSet::updateString(sal_Int32 column, const rtl::OUString& /* x */) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -867,7 +806,6 @@ void SAL_CALL OResultSet::updateString(sal_Int32 column, const rtl::OUString& /* } void SAL_CALL OResultSet::updateBytes(sal_Int32 column, const Sequence< sal_Int8 >& /* x */) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -876,7 +814,6 @@ void SAL_CALL OResultSet::updateBytes(sal_Int32 column, const Sequence< sal_Int8 } void SAL_CALL OResultSet::updateDate(sal_Int32 column, const Date& /* x */) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -885,7 +822,6 @@ void SAL_CALL OResultSet::updateDate(sal_Int32 column, const Date& /* x */) } void SAL_CALL OResultSet::updateTime(sal_Int32 column, const Time& /* x */) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -894,7 +830,6 @@ void SAL_CALL OResultSet::updateTime(sal_Int32 column, const Time& /* x */) } void SAL_CALL OResultSet::updateTimestamp(sal_Int32 column, const DateTime& /* x */) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -904,7 +839,6 @@ void SAL_CALL OResultSet::updateTimestamp(sal_Int32 column, const DateTime& /* x void SAL_CALL OResultSet::updateBinaryStream(sal_Int32 column, const Reference< XInputStream >& /* x */, sal_Int32 /* length */) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -914,7 +848,6 @@ void SAL_CALL OResultSet::updateBinaryStream(sal_Int32 column, const Reference< void SAL_CALL OResultSet::updateCharacterStream(sal_Int32 column, const Reference< XInputStream >& /* x */, sal_Int32 /* length */) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -923,7 +856,6 @@ void SAL_CALL OResultSet::updateCharacterStream(sal_Int32 column, const Referenc } void SAL_CALL OResultSet::refreshRow() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -931,7 +863,6 @@ void SAL_CALL OResultSet::refreshRow() } void SAL_CALL OResultSet::updateObject(sal_Int32 column, const Any& /* x */) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -940,7 +871,6 @@ void SAL_CALL OResultSet::updateObject(sal_Int32 column, const Any& /* x */) } void SAL_CALL OResultSet::updateNumericObject(sal_Int32 column, const Any& /* x */, sal_Int32 /* scale */) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -950,7 +880,6 @@ void SAL_CALL OResultSet::updateNumericObject(sal_Int32 column, const Any& /* x // XRowLocate Any SAL_CALL OResultSet::getBookmark() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -963,7 +892,6 @@ Any SAL_CALL OResultSet::getBookmark() } sal_Bool SAL_CALL OResultSet::moveToBookmark(const Any& /* bookmark */) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -972,7 +900,6 @@ sal_Bool SAL_CALL OResultSet::moveToBookmark(const Any& /* bookmark */) } sal_Bool SAL_CALL OResultSet::moveRelativeToBookmark(const Any& /* bookmark */, sal_Int32 /* rows */) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -982,7 +909,6 @@ sal_Bool SAL_CALL OResultSet::moveRelativeToBookmark(const Any& /* bookmark */, } sal_Int32 SAL_CALL OResultSet::compareBookmarks(const Any& /* n1 */, const Any& /* n2 */) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -993,13 +919,11 @@ sal_Int32 SAL_CALL OResultSet::compareBookmarks(const Any& /* n1 */, const Any& } sal_Bool SAL_CALL OResultSet::hasOrderedBookmarks() - throw(SQLException, RuntimeException, std::exception) { return false; } sal_Int32 SAL_CALL OResultSet::hashBookmark(const Any& /* bookmark */) - throw(SQLException, RuntimeException, std::exception) { mysqlc_sdbc_driver::throwFeatureNotImplementedException("OResultSet::hashBookmark", *this); return 0; @@ -1007,7 +931,6 @@ sal_Int32 SAL_CALL OResultSet::hashBookmark(const Any& /* bookmark */) // XDeleteRows Sequence< sal_Int32 > SAL_CALL OResultSet::deleteRows(const Sequence< Any >& /* rows */) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); @@ -1043,7 +966,6 @@ sal_Bool OResultSet::convertFastPropertyValue(Any & /* rConvertedValue */, Any & /* rOldValue */, sal_Int32 nHandle, const Any& /* rValue */) - throw (css::lang::IllegalArgumentException) { switch (nHandle) { case PROPERTY_ID_ISBOOKMARKABLE: @@ -1060,7 +982,6 @@ sal_Bool OResultSet::convertFastPropertyValue(Any & /* rConvertedValue */, } void OResultSet::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const Any& /* rValue */) - throw (Exception, std::exception) { switch (nHandle) { case PROPERTY_ID_ISBOOKMARKABLE: @@ -1115,13 +1036,12 @@ void SAL_CALL OResultSet::release() OResultSet_BASE::release(); } -css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL OResultSet::getPropertySetInfo() throw(css::uno::RuntimeException, std::exception) +css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL OResultSet::getPropertySetInfo() { return ::cppu::OPropertySetHelper::createPropertySetInfo(getInfoHelper()); } void OResultSet::checkColumnIndex(sal_Int32 index) - throw (SQLException, RuntimeException) { if ((index < 1 || index > (int) fieldCount)) { /* static object for efficiency or thread safety is a problem ? */ |