diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 18:00:00 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 18:03:24 +0100 |
commit | a10b95bcc97896f7f8d8643593a5d759f41ac82d (patch) | |
tree | 76cdb3318b9dec6bc0238d6630b1769408e9ae4a /comphelper | |
parent | 5b2b75ac26961d3cef093ca546a5316be6f2d782 (diff) |
New loplugin:dynexcspec: Add @throws documentation, comphelper
Change-Id: I115c5c34cf97858d9fdd96432cb57bde6d4537cb
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/eventattachermgr/eventattachermgr.cxx | 2 | ||||
-rw-r--r-- | comphelper/source/property/propagg.cxx | 2 | ||||
-rw-r--r-- | comphelper/source/property/propertysetinfo.cxx | 1 | ||||
-rw-r--r-- | comphelper/source/xml/ofopxmlhelper.cxx | 1 |
4 files changed, 6 insertions, 0 deletions
diff --git a/comphelper/source/eventattachermgr/eventattachermgr.cxx b/comphelper/source/eventattachermgr/eventattachermgr.cxx index ce8f3817c2c5..6917380aa7b9 100644 --- a/comphelper/source/eventattachermgr/eventattachermgr.cxx +++ b/comphelper/source/eventattachermgr/eventattachermgr.cxx @@ -127,6 +127,7 @@ public: virtual void SAL_CALL read(const Reference< XObjectInputStream >& InStream) throw( IOException, RuntimeException, std::exception ) override; private: + /// @throws Exception Reference< XIdlReflection > getReflection() throw( Exception ); /** checks if <arg>_nIndex</arg> is a valid index, throws an <type>IllegalArgumentException</type> if not @@ -147,6 +148,7 @@ class AttacherAllListener_Impl : public WeakImplHelper< XAllListener > OUString aScriptType; OUString aScriptCode; + /// @throws CannotConvertException void convertToEventReturn( Any & rRet, const Type & rRetType ) throw( CannotConvertException ); public: diff --git a/comphelper/source/property/propagg.cxx b/comphelper/source/property/propagg.cxx index e68ad495314b..e8383c362c80 100644 --- a/comphelper/source/property/propagg.cxx +++ b/comphelper/source/property/propagg.cxx @@ -272,6 +272,8 @@ namespace internal bool isResponsibleFor( sal_Int32 _nHandle ); /// actually forwards a property value to the aggregate + /// + /// @throws Exception void doForward( sal_Int32 _nHandle, const Any& _rValue ) throw ( Exception ); sal_Int32 getCurrentlyForwardedProperty( ) const { return m_nCurrentlyForwarding; } diff --git a/comphelper/source/property/propertysetinfo.cxx b/comphelper/source/property/propertysetinfo.cxx index 93293362a8ba..9125d694a71d 100644 --- a/comphelper/source/property/propertysetinfo.cxx +++ b/comphelper/source/property/propertysetinfo.cxx @@ -44,6 +44,7 @@ public: const PropertyMap& getPropertyMap() const throw() { return maPropertyMap;} + /// @throws UnknownPropertyException Property getPropertyByName( const OUString& aName ) throw( UnknownPropertyException ); bool hasPropertyByName( const OUString& aName ) throw(); diff --git a/comphelper/source/xml/ofopxmlhelper.cxx b/comphelper/source/xml/ofopxmlhelper.cxx index 062c72379542..eebe3c2e6186 100644 --- a/comphelper/source/xml/ofopxmlhelper.cxx +++ b/comphelper/source/xml/ofopxmlhelper.cxx @@ -85,6 +85,7 @@ public: namespace OFOPXMLHelper { +/// @throws css::uno::Exception static uno::Sequence<uno::Sequence< beans::StringPair>> ReadSequence_Impl( const uno::Reference<io::XInputStream>& xInStream, const OUString& aStringID, sal_uInt16 nFormat, |