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 8395d5f Better IllegalArgumentException message. 8395d5f is described below commit 8395d5f34f69ab3260758de41769c586065c2820 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Tue Feb 8 17:57:19 2022 -0500 Better IllegalArgumentException message. --- .../org/apache/commons/compress/archivers/cpio/CpioArchiveEntry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveEntry.java b/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveEntry.java index 33e992e..57c77f5 100644 --- a/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveEntry.java +++ b/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveEntry.java @@ -228,7 +228,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry { this.alignmentBoundary = 2; break; default: - throw new IllegalArgumentException("Unknown header type"); + throw new IllegalArgumentException("Unknown header type " + format); } this.fileFormat = format; }