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