Skip to content
Permalink
Browse files
Better IllegalArgumentException message.
  • Loading branch information
garydgregory committed Feb 8, 2022
1 parent 404f47f commit 8395d5f34f69ab3260758de41769c586065c2820
Showing 1 changed file with 1 addition and 1 deletion.
@@ -228,7 +228,7 @@ public CpioArchiveEntry(final short format) {
this.alignmentBoundary = 2;
break;
default:
throw new IllegalArgumentException("Unknown header type");
throw new IllegalArgumentException("Unknown header type " + format);
}
this.fileFormat = format;
}

0 comments on commit 8395d5f

Please sign in to comment.