summaryrefslogtreecommitdiff
path: root/package/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-19 17:54:53 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-19 18:03:17 +0100
commitde70ad0b0c65f4ae5dbdb156e1b9aa1d22855b2c (patch)
treee0d5e17bc230ce381c7206fb0870434252ba8cdf /package/source
parentf486e4a428be124627d89ce9f9ccf18eca9deb75 (diff)
New loplugin:dynexcspec: Add @throws documentation, package
Change-Id: I5d30cc2483452ba140cdce341677e872bffce6d1
Diffstat (limited to 'package/source')
-rw-r--r--package/source/manifest/ManifestImport.hxx5
-rw-r--r--package/source/xstor/owriteablestream.hxx1
-rw-r--r--package/source/xstor/xstorage.hxx9
-rw-r--r--package/source/zipapi/MemoryByteGrabber.hxx4
4 files changed, 19 insertions, 0 deletions
diff --git a/package/source/manifest/ManifestImport.hxx b/package/source/manifest/ManifestImport.hxx
index 9cace18ee251..3b2302a8bc83 100644
--- a/package/source/manifest/ManifestImport.hxx
+++ b/package/source/manifest/ManifestImport.hxx
@@ -137,10 +137,15 @@ public:
virtual void SAL_CALL setDocumentLocator( const css::uno::Reference< css::xml::sax::XLocator >& xLocator )
throw(css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
private:
+ /// @throws css::uno::RuntimeException
void doFileEntry(StringHashMap &rConvertedAttribs) throw(css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
void doEncryptionData(StringHashMap &rConvertedAttribs) throw(css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
void doAlgorithm(StringHashMap &rConvertedAttribs) throw(css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
void doKeyDerivation(StringHashMap &rConvertedAttribs) throw(css::uno::RuntimeException);
+ /// @throws css::uno::RuntimeException
void doStartKeyAlg(StringHashMap &rConvertedAttribs) throw(css::uno::RuntimeException);
};
#endif
diff --git a/package/source/xstor/owriteablestream.hxx b/package/source/xstor/owriteablestream.hxx
index 130d5fe1c532..dd6fd0471df9 100644
--- a/package/source/xstor/owriteablestream.hxx
+++ b/package/source/xstor/owriteablestream.hxx
@@ -132,6 +132,7 @@ private:
css::uno::Reference< css::io::XStream > GetStream_Impl( sal_Int32 nStreamMode,
bool bHierarchyAccess );
+ /// @throws css::packages::NoEncryptionException
::comphelper::SequenceAsHashMap GetCommonRootEncryptionData() throw ( css::packages::NoEncryptionException );
css::uno::Sequence< css::beans::PropertyValue > ReadPackageStreamProperties();
diff --git a/package/source/xstor/xstorage.hxx b/package/source/xstor/xstorage.hxx
index a0f2b3b74c8f..a8a84ecdff60 100644
--- a/package/source/xstor/xstorage.hxx
+++ b/package/source/xstor/xstorage.hxx
@@ -221,6 +221,7 @@ struct OStorage_Impl
void Commit();
void Revert();
+ /// @throws css::packages::NoEncryptionException
::comphelper::SequenceAsHashMap GetCommonRootEncryptionData() throw ( css::packages::NoEncryptionException );
void CopyToStorage( const css::uno::Reference< css::embed::XStorage >& xDest,
@@ -247,6 +248,14 @@ struct OStorage_Impl
void RemoveElement( SotElement_Impl* pElement );
static void ClearElement( SotElement_Impl* pElement );
+ /// @throws css::embed::InvalidStorageException
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::packages::WrongPasswordException
+ /// @throws css::packages::NoEncryptionException
+ /// @throws css::container::NoSuchElementException
+ /// @throws css::io::IOException
+ /// @throws css::embed::StorageWrappedTargetException
+ /// @throws css::uno::RuntimeException
void CloneStreamElement(
const OUString& aStreamName,
bool bPassProvided,
diff --git a/package/source/zipapi/MemoryByteGrabber.hxx b/package/source/zipapi/MemoryByteGrabber.hxx
index 2beb8f5eccb7..548f7f635896 100644
--- a/package/source/zipapi/MemoryByteGrabber.hxx
+++ b/package/source/zipapi/MemoryByteGrabber.hxx
@@ -41,6 +41,10 @@ public:
// XInputStream chained
+ /// @throws css::io::NotConnectedException
+ /// @throws css::io::BufferSizeExceededException
+ /// @throws css::io::IOException
+ /// @throws css::uno::RuntimeException
void SAL_CALL skipBytes( sal_Int32 nBytesToSkip )
throw(css::io::NotConnectedException, css::io::BufferSizeExceededException, css::io::IOException, css::uno::RuntimeException)
{