summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-06-08 11:27:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-06-08 11:27:42 +0200
commitc1a276e8e7e88f29f50ca0557fe1c0d9aa0f276a (patch)
tree045e537ad633410a58c40b77a9a3d46a91cdd225
parent22cf68296387eb613e3ee3b888ef1bfa0a6dd1e0 (diff)
Improve error reporting
Change-Id: I28459b157411b4ab5b10a25e017a0a7208e09aed
-rw-r--r--qadevOOo/runner/base/java_fat.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/qadevOOo/runner/base/java_fat.java b/qadevOOo/runner/base/java_fat.java
index 2fa1d05c9722..4ed28f2c3652 100644
--- a/qadevOOo/runner/base/java_fat.java
+++ b/qadevOOo/runner/base/java_fat.java
@@ -186,15 +186,13 @@ public class java_fat implements TestBase {
res = executeInterfaceTest(aSubEntry, tEnv, m_aParams);
} catch (IllegalArgumentException iae) {
System.out.println("Couldn't load class "
- + aSubEntry.entryName);
- System.out
- .println("**** " + iae.getMessage() + " ****");
+ + aSubEntry.entryName + ":");
+ iae.printStackTrace(System.out);
Summarizer.summarizeDown(aSubEntry, iae.getMessage());
} catch (java.lang.NoClassDefFoundError iae) {
System.out.println("Couldn't load class "
- + aSubEntry.entryName);
- System.out
- .println("**** " + iae.getMessage() + " ****");
+ + aSubEntry.entryName + ":");
+ iae.printStackTrace(System.out);
Summarizer.summarizeDown(aSubEntry, iae.getMessage());
} catch (java.lang.RuntimeException e) {
closeExistingOffice();