diff options
Diffstat (limited to 'reportbuilder/java/org/libreoffice/report/pentaho/StarReportDataFactory.java')
-rw-r--r-- | reportbuilder/java/org/libreoffice/report/pentaho/StarReportDataFactory.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/StarReportDataFactory.java b/reportbuilder/java/org/libreoffice/report/pentaho/StarReportDataFactory.java index 0c78d4a8d2e4..3fde6704afad 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/StarReportDataFactory.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/StarReportDataFactory.java @@ -74,7 +74,7 @@ public class StarReportDataFactory implements ReportDataFactory, Cloneable { message = "Failed to query data"; } - throw new ReportDataFactoryException(message); + throw new ReportDataFactoryException(message, e); } } @@ -99,7 +99,7 @@ public class StarReportDataFactory implements ReportDataFactory, Cloneable } catch (CloneNotSupportedException e) { - throw new IllegalStateException("Clone failed?"); + throw new IllegalStateException(e); } } |