code: @Override
      public Object xpathQuery(String xpath, QName type, NamespaceContext nsContext)
      {
          try {
              return super.xpathQuery(xpath, type, nsContext);
          } catch (XPathExpressionException e) {
              throw wrapExceptionAsRuntimeException(e);
          }
      }
docs: @throws XMLBuilderRuntimeException
  to wrap {@link XPathExpressionException}