summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/unotools/ZipPackageHelper.hxx2
-rw-r--r--include/unotools/accessiblerelationsethelper.hxx1
-rw-r--r--include/unotools/accessiblestatesethelper.hxx4
-rw-r--r--unotools/source/accessibility/accessiblerelationsethelper.cxx6
-rw-r--r--unotools/source/accessibility/accessiblestatesethelper.cxx5
-rw-r--r--unotools/source/config/eventcfg.cxx11
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.cxx2
7 files changed, 31 insertions, 0 deletions
diff --git a/include/unotools/ZipPackageHelper.hxx b/include/unotools/ZipPackageHelper.hxx
index 77c8b9178a8a..5d245bdc38fa 100644
--- a/include/unotools/ZipPackageHelper.hxx
+++ b/include/unotools/ZipPackageHelper.hxx
@@ -38,10 +38,12 @@ public:
void savePackage();
+ /// @throws css::uno::Exception
void addFile( css::uno::Reference< css::uno::XInterface >& xRootFolder,
const OUString& rSourceFile )
throw( css::uno::Exception, std::exception );
+ /// @throws css::uno::Exception
css::uno::Reference< css::uno::XInterface > addFolder( css::uno::Reference< css::uno::XInterface >& xRootFolder,
const OUString& rName )
throw( css::uno::Exception, std::exception );
diff --git a/include/unotools/accessiblerelationsethelper.hxx b/include/unotools/accessiblerelationsethelper.hxx
index 7f67eb8b2235..4daa4152da4b 100644
--- a/include/unotools/accessiblerelationsethelper.hxx
+++ b/include/unotools/accessiblerelationsethelper.hxx
@@ -113,6 +113,7 @@ public:
getRelationByType( sal_Int16 aRelationType )
throw (css::uno::RuntimeException, std::exception) override;
+ /// @throws uno::RuntimeException
void AddRelation(
const css::accessibility::AccessibleRelation& rRelation)
throw (css::uno::RuntimeException);
diff --git a/include/unotools/accessiblestatesethelper.hxx b/include/unotools/accessiblestatesethelper.hxx
index 7916b74490d6..34133bebb888 100644
--- a/include/unotools/accessiblestatesethelper.hxx
+++ b/include/unotools/accessiblestatesethelper.hxx
@@ -116,11 +116,15 @@ public:
throw (css::uno::RuntimeException, std::exception) override;
/** Adds a state to the set.
+
+ @throws css::uno::RuntimeException
*/
void AddState(sal_Int16 aState)
throw (css::uno::RuntimeException);
/** Removes a state from the set if the set contains the state, otherwise nothing is done.
+
+ @throws css::uno::RuntimeException
*/
void RemoveState(sal_Int16 aState)
throw (css::uno::RuntimeException);
diff --git a/unotools/source/accessibility/accessiblerelationsethelper.cxx b/unotools/source/accessibility/accessiblerelationsethelper.cxx
index 0792c85bf3fd..fcd42ab0c316 100644
--- a/unotools/source/accessibility/accessiblerelationsethelper.cxx
+++ b/unotools/source/accessibility/accessiblerelationsethelper.cxx
@@ -33,15 +33,21 @@ public:
AccessibleRelationSetHelperImpl(const AccessibleRelationSetHelperImpl& rImpl);
~AccessibleRelationSetHelperImpl();
+ /// @throws uno::RuntimeException
sal_Int32 getRelationCount( )
throw (uno::RuntimeException);
+ /// @throws lang::IndexOutOfBoundsException
+ /// @throws uno::RuntimeException
AccessibleRelation getRelation( sal_Int32 nIndex )
throw (lang::IndexOutOfBoundsException,
uno::RuntimeException);
+ /// @throws uno::RuntimeException
bool containsRelation( sal_Int16 aRelationType )
throw (uno::RuntimeException);
+ /// @throws uno::RuntimeException
AccessibleRelation getRelationByType( sal_Int16 aRelationType )
throw (uno::RuntimeException);
+ /// @throws uno::RuntimeException
void AddRelation(const AccessibleRelation& rRelation)
throw (uno::RuntimeException);
diff --git a/unotools/source/accessibility/accessiblestatesethelper.cxx b/unotools/source/accessibility/accessiblestatesethelper.cxx
index 549c360e3c0b..a6c1d9c67d2f 100644
--- a/unotools/source/accessibility/accessiblestatesethelper.cxx
+++ b/unotools/source/accessibility/accessiblestatesethelper.cxx
@@ -36,14 +36,19 @@ public:
AccessibleStateSetHelperImpl(const AccessibleStateSetHelperImpl& rImpl);
~AccessibleStateSetHelperImpl();
+ /// @throws uno::RuntimeException
bool IsEmpty () const
throw (uno::RuntimeException);
+ /// @throws uno::RuntimeException
bool Contains (sal_Int16 aState) const
throw (uno::RuntimeException);
+ /// @throws uno::RuntimeException
uno::Sequence<sal_Int16> GetStates() const
throw (uno::RuntimeException);
+ /// @throws uno::RuntimeException
void AddState(sal_Int16 aState)
throw (uno::RuntimeException);
+ /// @throws uno::RuntimeException
void RemoveState(sal_Int16 aState)
throw (uno::RuntimeException);
diff --git a/unotools/source/config/eventcfg.cxx b/unotools/source/config/eventcfg.cxx
index c331edefd150..a2faf43afbf3 100644
--- a/unotools/source/config/eventcfg.cxx
+++ b/unotools/source/config/eventcfg.cxx
@@ -95,11 +95,22 @@ public:
void Notify( const css::uno::Sequence<OUString>& aPropertyNames) override;
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::container::NoSuchElementException
+ /// @throws css::lang::WrappedTargetException
+ /// @throws css::uno::RuntimeException
void SAL_CALL replaceByName( const OUString& aName, const css::uno::Any& aElement ) throw (css::lang::IllegalArgumentException, css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException);
+ /// @throws css::container::NoSuchElementException
+ /// @throws css::lang::WrappedTargetException
+ /// @throws css::uno::RuntimeException
css::uno::Any SAL_CALL getByName( const OUString& aName ) throw (css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
css::uno::Sequence< OUString > SAL_CALL getElementNames( ) throw (css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
bool SAL_CALL hasByName( const OUString& aName ) throw (css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
static css::uno::Type SAL_CALL getElementType( ) throw (css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
bool SAL_CALL hasElements( ) throw (css::uno::RuntimeException);
OUString GetEventName( GlobalEventId nID );
};
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx
index 7c0096e24cb6..bb885a3482ee 100644
--- a/unotools/source/ucbhelper/ucblockbytes.cxx
+++ b/unotools/source/ucbhelper/ucblockbytes.cxx
@@ -219,6 +219,8 @@ class Moderator
// returns. This would imply that these class must be refcounted!!!
public:
+ /// @throws ContentCreationException
+ /// @throws RuntimeException
Moderator(
Reference < XContent > const & xContent,
Reference < XInteractionHandler > const & xInteract,