From 22315660ba0661679eef72805215fe8711968c07 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Sat, 13 Aug 2022 17:06:14 +0000 Subject: [PATCH] [bug-66213] try to debug failure git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903397 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/java/org/apache/poi/stress/TestAllFiles.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java b/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java index aaa1173c7c..3b51afe1e1 100644 --- a/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java +++ b/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java @@ -248,7 +248,7 @@ public class TestAllFiles { fail(errPrefix + "Unexpected exception, expected " + exClass + " and message " + exMessage, e); } } else if (exClass != null) { - Exception e = assertThrows((Class)exClass, exec); + Exception e = assertThrows((Class)exClass, exec, errPrefix + " expected " + exClass); String actMsg = pathReplace(e.getMessage()); if (NullPointerException.class.isAssignableFrom(exClass)) { if (actMsg != null) { -- 2.39.5