diff --git a/src/lib/zlib/GzipOutputStream.hxx b/src/lib/zlib/GzipOutputStream.hxx index 0b61a9380..88b465c95 100644 --- a/src/lib/zlib/GzipOutputStream.hxx +++ b/src/lib/zlib/GzipOutputStream.hxx @@ -48,6 +48,8 @@ class GzipOutputStream final : public OutputStream { public: /** * Construct the filter. + * + * Throws #ZlibError on error. */ explicit GzipOutputStream(OutputStream &_next); ~GzipOutputStream(); @@ -55,6 +57,8 @@ public: /** * Finish the file and write all data remaining in zlib's * output buffer. + * + * Throws on error. */ void Finish();