diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 18:00:34 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 18:03:24 +0100 |
commit | ea88107a65e93cde3729c46a4cc738ce396890ca (patch) | |
tree | 0eaad842d0cef5982845220e2c6740e1d3a60cfa /chart2/source/inc | |
parent | 2b385f20e7ddefd37f4ad6080b869c2120e67435 (diff) |
New loplugin:dynexcspec: Add @throws documentation, chart2
Change-Id: I9b558b713186c64054914ebfc4c122ff769b71a1
Diffstat (limited to 'chart2/source/inc')
-rw-r--r-- | chart2/source/inc/LifeTime.hxx | 4 | ||||
-rw-r--r-- | chart2/source/inc/OPropertySet.hxx | 3 | ||||
-rw-r--r-- | chart2/source/inc/WrappedProperty.hxx | 15 |
3 files changed, 22 insertions, 0 deletions
diff --git a/chart2/source/inc/LifeTime.hxx b/chart2/source/inc/LifeTime.hxx index 64f33af83584..ba652671103f 100644 --- a/chart2/source/inc/LifeTime.hxx +++ b/chart2/source/inc/LifeTime.hxx @@ -43,6 +43,7 @@ public: virtual ~LifeTimeManager(); bool impl_isDisposed( bool bAssert=true ); + /// @throws css::uno::RuntimeException bool dispose() throw(css::uno::RuntimeException); public: @@ -89,12 +90,15 @@ OOO_DLLPUBLIC_CHARTTOOLS CloseableLifeTimeManager( css::util::XCloseable* pCl OOO_DLLPUBLIC_CHARTTOOLS virtual ~CloseableLifeTimeManager() override; OOO_DLLPUBLIC_CHARTTOOLS bool impl_isDisposedOrClosed( bool bAssert=true ); +/// @throws css::uno::Exception OOO_DLLPUBLIC_CHARTTOOLS bool g_close_startTryClose(bool bDeliverOwnership) throw ( css::uno::Exception ); +/// @throws css::util::CloseVetoException OOO_DLLPUBLIC_CHARTTOOLS bool g_close_isNeedToCancelLongLastingCalls( bool bDeliverOwnership, css::util::CloseVetoException& ex ) throw ( css::util::CloseVetoException ); OOO_DLLPUBLIC_CHARTTOOLS void g_close_endTryClose(bool bDeliverOwnership, bool bMyVeto ); OOO_DLLPUBLIC_CHARTTOOLS void g_close_endTryClose_doClose(); +/// @throws css::uno::RuntimeException OOO_DLLPUBLIC_CHARTTOOLS void g_addCloseListener( const css::uno::Reference< css::util::XCloseListener > & xListener ) throw(css::uno::RuntimeException); diff --git a/chart2/source/inc/OPropertySet.hxx b/chart2/source/inc/OPropertySet.hxx index a5c7de8eb602..0d0f5fa02157 100644 --- a/chart2/source/inc/OPropertySet.hxx +++ b/chart2/source/inc/OPropertySet.hxx @@ -64,6 +64,9 @@ protected: /** implement this method to provide default values for all properties supporting defaults. If a property does not have a default value, you may throw an UnknownPropertyException. + + @throws css::beans::UnknownPropertyException + @throws css::uno::RuntimeException */ virtual css::uno::Any GetDefaultValue( sal_Int32 nHandle ) const throw (css::beans::UnknownPropertyException, diff --git a/chart2/source/inc/WrappedProperty.hxx b/chart2/source/inc/WrappedProperty.hxx index 062d79566e34..c22a0cb828ef 100644 --- a/chart2/source/inc/WrappedProperty.hxx +++ b/chart2/source/inc/WrappedProperty.hxx @@ -40,18 +40,33 @@ public: const OUString& getOuterName() const { return m_aOuterName;} virtual OUString getInnerName() const; + /// @throws css::beans::UnknownPropertyException + /// @throws css::beans::PropertyVetoException + /// @throws css::lang::IllegalArgumentException + /// @throws css::lang::WrappedTargetException + /// @throws css::uno::RuntimeException virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException); + /// @throws css::beans::UnknownPropertyException + /// @throws css::lang::WrappedTargetException + /// @throws css::uno::RuntimeException virtual css::uno::Any getPropertyValue( const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException); + /// @throws css::beans::UnknownPropertyException + /// @throws css::uno::RuntimeException virtual void setPropertyToDefault( const css::uno::Reference< css::beans::XPropertyState >& xInnerPropertyState ) const throw (css::beans::UnknownPropertyException, css::uno::RuntimeException); + /// @throws css::beans::UnknownPropertyException + /// @throws css::lang::WrappedTargetException + /// @throws css::uno::RuntimeException virtual css::uno::Any getPropertyDefault( const css::uno::Reference< css::beans::XPropertyState >& xInnerPropertyState ) const throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException); + /// @throws css::beans::UnknownPropertyException + /// @throws css::uno::RuntimeException virtual css::beans::PropertyState getPropertyState( const css::uno::Reference< css::beans::XPropertyState >& xInnerPropertyState ) const throw (css::beans::UnknownPropertyException, css::uno::RuntimeException); |