Bugs item #1194977, was opened at 2005-05-04 06:55 Message generated for change (Comment added) made by maartenc You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116035&aid=1194977&group_id=16035
Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Gili Tzabari (cowwoc) Assigned to: Nobody/Anonymous (nobody) Summary: Always include nested exceptions Initial Comment: When I invoke element.selectNodes() it invokes Jaxen under the hood and if Jaxen fails for any reason it returns: org.dom4j.InvalidXPathException: Invalid XPath expression: <xpath string> but this is incorrect because if the underlying implementation encounters a totally unrelated issue such as ClassNotFoundException (as I get in my case) then it is completely swallowed up by dom4j and it gives a misleading message. For this reason, please never swallow nested exceptions. At the very least, please fix the Jaxen issue I mention above. ---------------------------------------------------------------------- >Comment By: Maarten Coene (maartenc) Date: 2005-05-05 14:46 Message: Logged In: YES user_id=178745 I've made some modifications to the exception handling. Could you try it out with the latest sources from the DOM4J_1_X_BRANCH branch ? thanks, Maarten ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116035&aid=1194977&group_id=16035 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ dom4j-dev mailing list dom4j-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-dev