From 9341bf3dc38b2cc117ffbe12ff057511ed6e046d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 16 Oct 2014 12:19:14 +0200 Subject: java: when rethrowing, store the original exception Change-Id: I34ce000c48d2d79bfec854c8dd55d12f2bee29c7 --- forms/qa/org/openoffice/xforms/XMLDocument.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'forms/qa') diff --git a/forms/qa/org/openoffice/xforms/XMLDocument.java b/forms/qa/org/openoffice/xforms/XMLDocument.java index 0f6b337f76c4..e2236767a346 100644 --- a/forms/qa/org/openoffice/xforms/XMLDocument.java +++ b/forms/qa/org/openoffice/xforms/XMLDocument.java @@ -76,7 +76,7 @@ public class XMLDocument extends integration.forms.DocumentHelper } catch (WrappedTargetException ex) { - throw new NoSuchElementException(); + throw new NoSuchElementException(ex); } } -- cgit