Java XPath Get getMessage(XPathExpressionException e)

Here you can find the source of getMessage(XPathExpressionException e)

Description

get Message

License

Apache License

Declaration

private static String getMessage(XPathExpressionException e) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import javax.xml.xpath.XPathExpressionException;

public class Main {
    private static String getMessage(XPathExpressionException e) {
        String msg;//from   w w w.  j  av a 2 s .  c  o  m
        Throwable t = e;
        do {
            msg = t.getMessage();
            t = t.getCause();
        } while (msg == null && t != null);
        return msg;
    }
}

Related

  1. getHtmlXPath()
  2. getInt(Object node, XPathExpression expression)
  3. getLatestVersion(String tempDir, String url, String groupId, String artifactId, String version)
  4. getListValue(Node node, XPathExpression expression)
  5. getListValue(String targetDoc, List xpathExps, String encoding)
  6. GetMobivateSessionId()
  7. getNameBasedXPath(Node n, boolean includeCurrent)
  8. getNewXPath()
  9. getNewXPath()