include class of caught exception

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1761654 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Javen O'Neal 2016-09-21 01:14:26 +00:00
parent 3adf725ba4
commit 9a36aa3a37

View File

@ -27,6 +27,7 @@ import java.io.File;
import java.io.FileInputStream; import java.io.FileInputStream;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.StringWriter;
import java.util.Collections; import java.util.Collections;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
@ -262,8 +263,8 @@ public class TestVBAMacroReader {
reader.close(); reader.close();
} }
private void skipTest(Throwable e) { private static void skipTest(Throwable e) {
assumeTrue("This test currently fails." + e.getLocalizedMessage(), false); assumeTrue("This test currently fails with " + e, false);
} }
// This test is written as expected-to-fail and should be rewritten // This test is written as expected-to-fail and should be rewritten