You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by bo...@apache.org on 2020/05/23 15:55:24 UTC

[commons-compress] 01/02: COMPRESS-514 make error message easier to read

This is an automated email from the ASF dual-hosted git repository.

bodewig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git

commit 9e4238713c9a8f9ef16edb1022f81531a705adbc
Author: Stefan Bodewig <bo...@apache.org>
AuthorDate: Sat May 23 17:51:23 2020 +0200

    COMPRESS-514 make error message easier to read
---
 .../java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java
index 5de9667..9ba9b02 100644
--- a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java
+++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java
@@ -1615,7 +1615,7 @@ public class SevenZFile implements Closeable {
 
     private static void assertFitsIntoInt(String what, long value) throws IOException {
         if (value > Integer.MAX_VALUE) {
-            throw new IOException("Cannot handle " + what + value);
+            throw new IOException("Cannot handle " + what + " " + value);
         }
     }
 }