aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java2
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) {