diff options
-rw-r--r-- | cppuhelper/source/factory.cxx | 4 | ||||
-rw-r--r-- | cppuhelper/source/weak.cxx | 2 | ||||
-rw-r--r-- | include/cppuhelper/propshlp.hxx | 6 |
3 files changed, 12 insertions, 0 deletions
diff --git a/cppuhelper/source/factory.cxx b/cppuhelper/source/factory.cxx index 891db88d2266..49db5466f449 100644 --- a/cppuhelper/source/factory.cxx +++ b/cppuhelper/source/factory.cxx @@ -112,6 +112,8 @@ protected: * Create an instance specified by the factory. The one instance logic is implemented * in the createInstance and createInstanceWithArguments methods. * @return the newly created instance. Do not return a previous (one instance) instance. + * @throw css::uno::Exception + * @throw css::uno::RuntimeException */ virtual Reference<XInterface > createInstanceEveryTime( Reference< XComponentContext > const & xContext ) @@ -529,6 +531,8 @@ public: private: + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException Reference< XInterface > createModuleFactory() throw(css::uno::Exception, css::uno::RuntimeException); diff --git a/cppuhelper/source/weak.cxx b/cppuhelper/source/weak.cxx index 3ffaba14ce23..a30700bdd691 100644 --- a/cppuhelper/source/weak.cxx +++ b/cppuhelper/source/weak.cxx @@ -74,6 +74,8 @@ public: void SAL_CALL removeReference( const css::uno::Reference< css::uno::XReference >& xRef ) throw(css::uno::RuntimeException, std::exception) override; /// Called from the weak object if the reference count goes to zero. + /// + /// @throws css::uno::RuntimeException void SAL_CALL dispose() throw(css::uno::RuntimeException); private: diff --git a/include/cppuhelper/propshlp.hxx b/include/cppuhelper/propshlp.hxx index 7f7221018b25..ecba58c6db34 100644 --- a/include/cppuhelper/propshlp.hxx +++ b/include/cppuhelper/propshlp.hxx @@ -428,6 +428,8 @@ public: throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** eases implementing XTypeProvider::getTypes, returns the types of XMultiPropertySet, XFastPropertySet, XPropertySet + + @throws css::uno::RuntimeException */ css::uno::Sequence< css::uno::Type > getTypes() throw(css::uno::RuntimeException); @@ -572,6 +574,9 @@ protected: @param nHandle the handle of the proberty. @param rValue the value to be converted @return true if the value converted. + @throws css::lang::IllegalArgumentException + @throws css::beans::UnknownPropertyException, + @thrwos css::uno::RuntimeException */ virtual sal_Bool SAL_CALL convertFastPropertyValue( css::uno::Any & rConvertedValue, @@ -599,6 +604,7 @@ protected: handle @param rValue value + @throws css::uno::Exception */ virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, |