Code example for XPathExpressionException

Methods: printStackTrace

0
		try { 
			metaInfo = (Element) mXpath.evaluate("MetaInfo", mConfig,
					XPathConstants.NODE);
		} catch (XPathExpressionException e) {
			// TODO Auto-generated catch block 
			e.printStackTrace();
		} 
		if (metaInfo == null)
			return null; 
		else 
			return metaInfo.getAttribute("artifactID");
	} 
 
	public ConfigClass getChildClass(String className) {
		String[] cl = className.split("\\.");
		StringBuilder expression = new StringBuilder();
		for (int i = 0; i < cl.length; i++) {
			expression.append("Class[@tagName='" + cl[i] + "']");
			if (i != cl.length - 1)
				expression.append("/");
		}