diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2015-01-22 13:18:02 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2015-01-22 13:18:55 +0100 |
commit | cc376d87859a478b6cab348f0c96ea9fa7fe7a9a (patch) | |
tree | 13041f89f0debb4d558d9b9d35fe888fb3184652 /reportbuilder | |
parent | 42b809228dc0971c4280871728e37261abab62da (diff) |
set java throwable cause argument (erroneously removed by previous commit)
Change-Id: Ib4516eec5e47d95d53dbb5002f7258514c93f2c9
Diffstat (limited to 'reportbuilder')
-rw-r--r-- | reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java b/reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java index 1b53cc06af17..8d781ae65dab 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java @@ -223,7 +223,7 @@ public class SOReportJobFactory Writer result = new StringWriter(); PrintWriter printWriter = new PrintWriter(result); e.printStackTrace(printWriter); - throw new com.sun.star.lang.WrappedTargetException(e.toString() + '\n' + result.toString(), this, null); + throw new com.sun.star.lang.WrappedTargetException(e, e.toString() + '\n' + result.toString(), this, null); } catch (java.lang.IncompatibleClassChangeError e) { @@ -231,7 +231,7 @@ public class SOReportJobFactory Writer result = new StringWriter(); PrintWriter printWriter = new PrintWriter(result); e.printStackTrace(printWriter); - throw new com.sun.star.lang.WrappedTargetException(e.toString() + '\n' + result.toString(), this, null); + throw new com.sun.star.lang.WrappedTargetException(e, e.toString() + '\n' + result.toString(), this, null); } Thread.currentThread().setContextClassLoader(cl); |