]> source.dussan.org Git - poi.git/commitdiff
[bug-66213] try to debug failure
authorPJ Fanning <fanningpj@apache.org>
Sat, 13 Aug 2022 17:06:14 +0000 (17:06 +0000)
committerPJ Fanning <fanningpj@apache.org>
Sat, 13 Aug 2022 17:06:14 +0000 (17:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903397 13f79535-47bb-0310-9956-ffa450edef68

poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java

index aaa1173c7cd2b4bcaeaf786ba2ed1b86b36c03c6..3b51afe1e1b1005a82de8b2117fb13ce0d1e6170 100644 (file)
@@ -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<? extends Exception>)exClass, exec);
+            Exception e = assertThrows((Class<? extends Exception>)exClass, exec, errPrefix + " expected " + exClass);
             String actMsg = pathReplace(e.getMessage());
             if (NullPointerException.class.isAssignableFrom(exClass)) {
                 if (actMsg != null) {