Added previous stack trace to VXQuery Exception.
Project: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/commit/1d962e21 Tree: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/tree/1d962e21 Diff: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/diff/1d962e21 Branch: refs/heads/prestonc/benchmark Commit: 1d962e21c0beb485239c80fc6794ce6109c4d739 Parents: 17a0852 Author: Preston Carman <[email protected]> Authored: Thu May 8 14:15:27 2014 -0700 Committer: Preston Carman <[email protected]> Committed: Thu May 8 14:15:35 2014 -0700 ---------------------------------------------------------------------- .../java/org/apache/vxquery/exceptions/VXQueryDataException.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/1d962e21/vxquery-core/src/main/java/org/apache/vxquery/exceptions/VXQueryDataException.java ---------------------------------------------------------------------- diff --git a/vxquery-core/src/main/java/org/apache/vxquery/exceptions/VXQueryDataException.java b/vxquery-core/src/main/java/org/apache/vxquery/exceptions/VXQueryDataException.java index 79a37af..c05a023 100644 --- a/vxquery-core/src/main/java/org/apache/vxquery/exceptions/VXQueryDataException.java +++ b/vxquery-core/src/main/java/org/apache/vxquery/exceptions/VXQueryDataException.java @@ -29,6 +29,7 @@ public class VXQueryDataException extends HyracksDataException { public VXQueryDataException(String message, Exception ex, File file) { super(message, ex); this.file = file; + setStackTrace(ex.getStackTrace()); } @Override
