From cc376d87859a478b6cab348f0c96ea9fa7fe7a9a Mon Sep 17 00:00:00 2001 From: Lionel Elie Mamane Date: Thu, 22 Jan 2015 13:18:02 +0100 Subject: set java throwable cause argument (erroneously removed by previous commit) Change-Id: Ib4516eec5e47d95d53dbb5002f7258514c93f2c9 --- .../java/org/libreoffice/report/pentaho/SOReportJobFactory.java | 4 ++-- 1 file 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); -- cgit v1.2.3