diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-20 12:58:36 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-20 13:00:06 +0100 |
commit | 0494fc3f91d7a20f44e9e3c4b53aa987858e1de4 (patch) | |
tree | 5fc888c2895ba1c8fe9f74c0e4ac053570dda342 | |
parent | b417956f61a02d1d84ebfa1887a1d549063ad7e5 (diff) |
loplugin:dynexcspec (macOS), connectivity
Change-Id: Ic8cd364cd27f7f7669ac8d5553fc3974b5f8c992
6 files changed, 22 insertions, 0 deletions
diff --git a/connectivity/source/drivers/macab/MacabConnection.hxx b/connectivity/source/drivers/macab/MacabConnection.hxx index 6312be25002c..0c225861275a 100644 --- a/connectivity/source/drivers/macab/MacabConnection.hxx +++ b/connectivity/source/drivers/macab/MacabConnection.hxx @@ -65,11 +65,13 @@ namespace connectivity m_xCatalog; // needed for the SQL interpreter public: + /// @throws css::sdbc::SQLException virtual void construct( const OUString& url,const css::uno::Sequence< css::beans::PropertyValue >& info) throw(css::sdbc::SQLException); explicit MacabConnection(MacabDriver* _pDriver); virtual ~MacabConnection() override; + /// @throws css::sdbc::SQLException void closeAllStatements () throw( css::sdbc::SQLException); // OComponentHelper diff --git a/connectivity/source/drivers/macab/MacabDriver.hxx b/connectivity/source/drivers/macab/MacabDriver.hxx index 20063ff115bf..e150afcac2e4 100644 --- a/connectivity/source/drivers/macab/MacabDriver.hxx +++ b/connectivity/source/drivers/macab/MacabDriver.hxx @@ -118,10 +118,13 @@ namespace connectivity MacabImplModule m_aImplModule; public: + /// @throws css::uno::Exception static css::uno::Reference< css::uno::XInterface > SAL_CALL Create(const css::uno::Reference< css::lang::XMultiServiceFactory >& _rxFactory) throw( css::uno::Exception ); // XServiceInfo - static versions + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static( ) throw(css::uno::RuntimeException); + /// @throws css::uno::RuntimeException static css::uno::Sequence< OUString > getSupportedServiceNames_Static( ) throw (css::uno::RuntimeException); css::uno::Reference< css::uno::XComponentContext > const & diff --git a/connectivity/source/drivers/macab/MacabPreparedStatement.hxx b/connectivity/source/drivers/macab/MacabPreparedStatement.hxx index c548b0f21019..312326edef23 100644 --- a/connectivity/source/drivers/macab/MacabPreparedStatement.hxx +++ b/connectivity/source/drivers/macab/MacabPreparedStatement.hxx @@ -47,7 +47,9 @@ namespace connectivity mutable sal_Int32 m_nParameterIndex; OValueRow m_aParameterRow; + /// @throws css::sdbc::SQLException void checkAndResizeParameters(sal_Int32 nParams) throw(css::sdbc::SQLException); + /// @throws css::sdbc::SQLException void setMacabFields() const throw(css::sdbc::SQLException); protected: diff --git a/connectivity/source/drivers/macab/MacabResultSetMetaData.hxx b/connectivity/source/drivers/macab/MacabResultSetMetaData.hxx index 205ee53e2df5..cc7ccf38b36c 100644 --- a/connectivity/source/drivers/macab/MacabResultSetMetaData.hxx +++ b/connectivity/source/drivers/macab/MacabResultSetMetaData.hxx @@ -53,6 +53,7 @@ namespace connectivity inline operator css::uno::Reference< css::sdbc::XResultSetMetaData > () throw() { return this; } + /// @throws css::sdbc::SQLException void setMacabFields( const ::rtl::Reference<connectivity::OSQLColumns> &xColumns) throw(css::sdbc::SQLException); inline sal_uInt32 fieldAtColumn(sal_Int32 columnIndex) const diff --git a/connectivity/source/drivers/macab/MacabStatement.hxx b/connectivity/source/drivers/macab/MacabStatement.hxx index aaaa4b2c529a..0d2f4c2e9664 100644 --- a/connectivity/source/drivers/macab/MacabStatement.hxx +++ b/connectivity/source/drivers/macab/MacabStatement.hxx @@ -64,13 +64,18 @@ namespace connectivity protected: + /// @throws css::sdbc::SQLException class MacabCondition *analyseWhereClause( const OSQLParseNode *pParseNode) const throw(css::sdbc::SQLException); + /// @throws css::sdbc::SQLException class MacabOrder *analyseOrderByClause( const OSQLParseNode *pParseNode) const throw(css::sdbc::SQLException); OUString getTableName( ) const; + /// @throws css::sdbc::SQLException void setMacabFields(class MacabResultSet *pResult) const throw(css::sdbc::SQLException); + /// @throws css::sdbc::SQLException void selectRecords(MacabResultSet *pResult) const throw(css::sdbc::SQLException); + /// @throws css::sdbc::SQLException void sortRecords(MacabResultSet *pResult) const throw(css::sdbc::SQLException); // OPropertyArrayUsageHelper @@ -90,7 +95,9 @@ namespace connectivity css::uno::Any& rValue, sal_Int32 nHandle) const override; + /// @throws css::sdbc::SQLException virtual void resetParameters() const throw(css::sdbc::SQLException); + /// @throws css::sdbc::SQLException virtual void getNextParameter(OUString &rParameter) const throw(css::sdbc::SQLException); virtual ~MacabCommonStatement() override; diff --git a/connectivity/source/drivers/macab/macabcondition.hxx b/connectivity/source/drivers/macab/macabcondition.hxx index 08b82dc3b69c..24a5a32c57cc 100644 --- a/connectivity/source/drivers/macab/macabcondition.hxx +++ b/connectivity/source/drivers/macab/macabcondition.hxx @@ -58,6 +58,7 @@ class MacabConditionColumn : public MacabCondition sal_Int32 m_nFieldNumber; public: + /// @throws css::sdbc::SQLException MacabConditionColumn( const MacabHeader *header, const OUString &sColumnName) throw(css::sdbc::SQLException); @@ -68,6 +69,7 @@ class MacabConditionColumn : public MacabCondition class MacabConditionNull : public MacabConditionColumn { public: + /// @throws css::sdbc::SQLException MacabConditionNull( const MacabHeader *header, const OUString &sColumnName) throw(css::sdbc::SQLException); @@ -77,6 +79,7 @@ class MacabConditionNull : public MacabConditionColumn class MacabConditionNotNull : public MacabConditionColumn { public: + /// @throws css::sdbc::SQLException MacabConditionNotNull( const MacabHeader *header, const OUString &sColumnName) throw(css::sdbc::SQLException); @@ -89,6 +92,7 @@ class MacabConditionCompare : public MacabConditionColumn const OUString m_sMatchString; public: + /// @throws css::sdbc::SQLException MacabConditionCompare( const MacabHeader *header, const OUString &sColumnName, @@ -98,6 +102,7 @@ class MacabConditionCompare : public MacabConditionColumn class MacabConditionEqual : public MacabConditionCompare { public: + /// @throws css::sdbc::SQLException MacabConditionEqual( const MacabHeader *header, const OUString &sColumnName, @@ -108,6 +113,7 @@ class MacabConditionEqual : public MacabConditionCompare class MacabConditionDifferent : public MacabConditionCompare { public: + /// @throws css::sdbc::SQLException MacabConditionDifferent( const MacabHeader *header, const OUString &sColumnName, @@ -118,6 +124,7 @@ class MacabConditionDifferent : public MacabConditionCompare class MacabConditionSimilar : public MacabConditionCompare { public: + /// @throws css::sdbc::SQLException MacabConditionSimilar( const MacabHeader *header, const OUString &sColumnName, |