diff options
Diffstat (limited to 'mysqlc/source/mysqlc_preparedstatement.cxx')
-rw-r--r-- | mysqlc/source/mysqlc_preparedstatement.cxx | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/mysqlc/source/mysqlc_preparedstatement.cxx b/mysqlc/source/mysqlc_preparedstatement.cxx index f3563ed16d66..eff5040f96d8 100644 --- a/mysqlc/source/mysqlc_preparedstatement.cxx +++ b/mysqlc/source/mysqlc_preparedstatement.cxx @@ -57,13 +57,11 @@ static inline char * my_i_to_a(char * buf, size_t buf_size, int a) } rtl::OUString OPreparedStatement::getImplementationName() - throw (css::uno::RuntimeException, std::exception) { return rtl::OUString("com.sun.star.sdbcx.mysqlc.PreparedStatement"); } css::uno::Sequence<rtl::OUString> OPreparedStatement::getSupportedServiceNames() - throw (css::uno::RuntimeException, std::exception) { css::uno::Sequence<rtl::OUString> s(1); s[0] = "com.sun.star.sdbc.PreparedStatement"; @@ -71,7 +69,6 @@ css::uno::Sequence<rtl::OUString> OPreparedStatement::getSupportedServiceNames() } sal_Bool OPreparedStatement::supportsService(rtl::OUString const & ServiceName) - throw (css::uno::RuntimeException, std::exception) { return cppu::supportsService(this, ServiceName); } @@ -106,7 +103,6 @@ void SAL_CALL OPreparedStatement::release() } Any SAL_CALL OPreparedStatement::queryInterface(const Type & rType) - throw(RuntimeException, std::exception) { Any aRet = OCommonStatement::queryInterface(rType); if (!aRet.hasValue()) { @@ -116,13 +112,11 @@ Any SAL_CALL OPreparedStatement::queryInterface(const Type & rType) } Sequence< Type > SAL_CALL OPreparedStatement::getTypes() - throw(RuntimeException, std::exception) { return concatSequences(OPreparedStatement_BASE::getTypes(), OCommonStatement::getTypes()); } Reference< XResultSetMetaData > SAL_CALL OPreparedStatement::getMetaData() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -143,7 +137,6 @@ Reference< XResultSetMetaData > SAL_CALL OPreparedStatement::getMetaData() } void SAL_CALL OPreparedStatement::close() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -161,7 +154,6 @@ void SAL_CALL OPreparedStatement::close() } sal_Bool SAL_CALL OPreparedStatement::execute() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -176,7 +168,6 @@ sal_Bool SAL_CALL OPreparedStatement::execute() } sal_Int32 SAL_CALL OPreparedStatement::executeUpdate() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -191,7 +182,6 @@ sal_Int32 SAL_CALL OPreparedStatement::executeUpdate() } void SAL_CALL OPreparedStatement::setString(sal_Int32 parameter, const rtl::OUString& x) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -208,7 +198,6 @@ void SAL_CALL OPreparedStatement::setString(sal_Int32 parameter, const rtl::OUSt } Reference< XConnection > SAL_CALL OPreparedStatement::getConnection() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -217,7 +206,6 @@ Reference< XConnection > SAL_CALL OPreparedStatement::getConnection() } Reference< XResultSet > SAL_CALL OPreparedStatement::executeQuery() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -233,7 +221,6 @@ Reference< XResultSet > SAL_CALL OPreparedStatement::executeQuery() } void SAL_CALL OPreparedStatement::setBoolean(sal_Int32 parameter, sal_Bool x) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -249,7 +236,6 @@ void SAL_CALL OPreparedStatement::setBoolean(sal_Int32 parameter, sal_Bool x) } void SAL_CALL OPreparedStatement::setByte(sal_Int32 parameter, sal_Int8 x) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -265,7 +251,6 @@ void SAL_CALL OPreparedStatement::setByte(sal_Int32 parameter, sal_Int8 x) } void SAL_CALL OPreparedStatement::setDate(sal_Int32 parameter, const Date& aData) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -289,7 +274,6 @@ void SAL_CALL OPreparedStatement::setDate(sal_Int32 parameter, const Date& aData } void SAL_CALL OPreparedStatement::setTime(sal_Int32 parameter, const Time& aVal) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -313,7 +297,6 @@ void SAL_CALL OPreparedStatement::setTime(sal_Int32 parameter, const Time& aVal) } void SAL_CALL OPreparedStatement::setTimestamp(sal_Int32 parameter, const DateTime& aVal) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -345,7 +328,6 @@ void SAL_CALL OPreparedStatement::setTimestamp(sal_Int32 parameter, const DateTi } void SAL_CALL OPreparedStatement::setDouble(sal_Int32 parameter, double x) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -361,7 +343,6 @@ void SAL_CALL OPreparedStatement::setDouble(sal_Int32 parameter, double x) } void SAL_CALL OPreparedStatement::setFloat(sal_Int32 parameter, float x) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -377,7 +358,6 @@ void SAL_CALL OPreparedStatement::setFloat(sal_Int32 parameter, float x) } void SAL_CALL OPreparedStatement::setInt(sal_Int32 parameter, sal_Int32 x) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -393,7 +373,6 @@ void SAL_CALL OPreparedStatement::setInt(sal_Int32 parameter, sal_Int32 x) } void SAL_CALL OPreparedStatement::setLong(sal_Int32 parameter, sal_Int64 aVal) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -409,7 +388,6 @@ void SAL_CALL OPreparedStatement::setLong(sal_Int32 parameter, sal_Int64 aVal) } void SAL_CALL OPreparedStatement::setNull(sal_Int32 parameter, sal_Int32 sqlType) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -425,7 +403,6 @@ void SAL_CALL OPreparedStatement::setNull(sal_Int32 parameter, sal_Int32 sqlType } void SAL_CALL OPreparedStatement::setClob(sal_Int32 parameter, const Reference< XClob >& /* x */) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -435,7 +412,6 @@ void SAL_CALL OPreparedStatement::setClob(sal_Int32 parameter, const Reference< } void SAL_CALL OPreparedStatement::setBlob(sal_Int32 parameter, const Reference< XBlob >& /* x */) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -445,7 +421,6 @@ void SAL_CALL OPreparedStatement::setBlob(sal_Int32 parameter, const Reference< } void SAL_CALL OPreparedStatement::setArray(sal_Int32 parameter, const Reference< XArray >& /* x */) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -455,7 +430,6 @@ void SAL_CALL OPreparedStatement::setArray(sal_Int32 parameter, const Reference< } void SAL_CALL OPreparedStatement::setRef(sal_Int32 parameter, const Reference< XRef >& /* x */) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -494,7 +468,6 @@ namespace } void SAL_CALL OPreparedStatement::setObjectWithInfo(sal_Int32 _parameterIndex, const Any& _value, sal_Int32 _targetSqlType, sal_Int32 /* scale */) - throw(SQLException, RuntimeException, std::exception) { checkDisposed(OPreparedStatement::rBHelper.bDisposed); MutexGuard aGuard(m_aMutex); @@ -627,7 +600,6 @@ void SAL_CALL OPreparedStatement::setObjectWithInfo(sal_Int32 _parameterIndex, c } void SAL_CALL OPreparedStatement::setObjectNull(sal_Int32 parameter, sal_Int32 /* sqlType */, const rtl::OUString& /* typeName */) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -637,7 +609,6 @@ void SAL_CALL OPreparedStatement::setObjectNull(sal_Int32 parameter, sal_Int32 / } void SAL_CALL OPreparedStatement::setObject(sal_Int32 parameter, const Any& /* x */) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -647,7 +618,6 @@ void SAL_CALL OPreparedStatement::setObject(sal_Int32 parameter, const Any& /* x } void SAL_CALL OPreparedStatement::setShort(sal_Int32 parameter, sal_Int16 x) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -663,7 +633,6 @@ void SAL_CALL OPreparedStatement::setShort(sal_Int32 parameter, sal_Int16 x) } void SAL_CALL OPreparedStatement::setBytes(sal_Int32 parameter, const Sequence< sal_Int8 >& x) - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -682,7 +651,6 @@ 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, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -694,7 +662,6 @@ 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, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -704,7 +671,6 @@ void SAL_CALL OPreparedStatement::setBinaryStream(sal_Int32 parameter, } void SAL_CALL OPreparedStatement::clearParameters() - throw(SQLException, RuntimeException, std::exception) { MutexGuard aGuard(m_aMutex); checkDisposed(OPreparedStatement::rBHelper.bDisposed); @@ -719,26 +685,22 @@ void SAL_CALL OPreparedStatement::clearParameters() } void SAL_CALL OPreparedStatement::clearBatch() - throw(SQLException, RuntimeException, std::exception) { mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::clearBatch", *this); } void SAL_CALL OPreparedStatement::addBatch() - throw(SQLException, RuntimeException, std::exception) { mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::addBatch", *this); } Sequence< sal_Int32 > SAL_CALL OPreparedStatement::executeBatch() - throw(SQLException, RuntimeException, std::exception) { Sequence< sal_Int32 > aRet= Sequence< sal_Int32 > (); return aRet; } void OPreparedStatement::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,const Any& rValue) - throw(Exception, std::exception) { switch(nHandle) { |