This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git
The following commit(s) were added to refs/heads/master by this push:
new bc4a3d9bf Javadoc
bc4a3d9bf is described below
commit bc4a3d9bfd3a95e22c7345d073fee699be4d5076
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Apr 9 10:00:29 2025 -0400
Javadoc
---
.../dump/UnsupportedCompressionAlgorithmException.java | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git
a/src/main/java/org/apache/commons/compress/archivers/dump/UnsupportedCompressionAlgorithmException.java
b/src/main/java/org/apache/commons/compress/archivers/dump/UnsupportedCompressionAlgorithmException.java
index a2b07452f..a35f9f5c5 100644
---
a/src/main/java/org/apache/commons/compress/archivers/dump/UnsupportedCompressionAlgorithmException.java
+++
b/src/main/java/org/apache/commons/compress/archivers/dump/UnsupportedCompressionAlgorithmException.java
@@ -16,19 +16,29 @@
* specific language governing permissions and limitations
* under the License.
*/
+
package org.apache.commons.compress.archivers.dump;
/**
* Unsupported compression algorithm. The dump archive uses an unsupported
compression algorithm (BZLIB2 or LZO).
*/
public class UnsupportedCompressionAlgorithmException extends
DumpArchiveException {
+
private static final long serialVersionUID = 1L;
+ /**
+ * Constructs a {@code UnsupportedCompressionAlgorithmException}.
+ */
public UnsupportedCompressionAlgorithmException() {
super("this file uses an unsupported compression algorithm.");
}
- public UnsupportedCompressionAlgorithmException(final String alg) {
- super("this file uses an unsupported compression algorithm: " + alg +
".");
+ /**
+ * Constructs a {@code UnsupportedCompressionAlgorithmException} with the
specified algorithm name.
+ *
+ * @param algorithm The algorithm name to use in the detailed message.
+ */
+ public UnsupportedCompressionAlgorithmException(final String algorithm) {
+ super("this file uses an unsupported compression algorithm: " +
algorithm + ".");
}
}