Bugs item #1194977, was opened at 2005-05-04 04:55
Message generated for change (Tracker Item Submitted) made by Item Submitter
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.

----------------------------------------------------------------------

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

Reply via email to