diff options
author | PJ Fanning <fanningpj@apache.org> | 2022-08-13 17:06:14 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2022-08-13 17:06:14 +0000 |
commit | 22315660ba0661679eef72805215fe8711968c07 (patch) | |
tree | 5bf871f375251118d376fc815eea105e1c5d6361 | |
parent | a38a5c3a0bfbed99f93de62a6da3c335c7a4b297 (diff) | |
download | poi-22315660ba0661679eef72805215fe8711968c07.tar.gz poi-22315660ba0661679eef72805215fe8711968c07.zip |
[bug-66213] try to debug failure
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903397 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java | 2 |
1 files changed, 1 insertions, 1 deletions
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<? 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) { |