/src/main/java/org/htmlunit/html/xpath/XPathAdapter.java
final TransformerException te = new TransformerException( msg, unwrapped, mainExp_) ;
final TransformerException te = new TransformerException ( msg, mainExp_, unwrapped ) ;
unwrapped = ((WrappedRuntimeException) unwrapped).getException(); } String msg = unwrapped.getMessage(); if (msg == null || msg.isEmpty()) { msg = XPATHMessages.createXPATHMessage(XPATHErrorResources.ER_XPATH_ERROR, null); } <extra_id_0> final ErrorListener el = xpathContext.getErrorListener(); if (null != el) { el.fatalError(te); } else { throw te;