Code example for XPathExpressionException

Methods: printStackTrace

0
		try { 
			list = (NodeList) mXpath.evaluate(expression, mDocNode,
					XPathConstants.NODESET);
		} catch (XPathExpressionException e) {
			// TODO Auto-generated catch block 
			e.printStackTrace();
		} 
		return list;		
	} 
 
	public boolean isValidField(String fieldName) {
		ConfigField field = mConfigClass.getField(fieldName);
		return field != null;
	} 
 
	 
	public ObjectValueType getValueType(String fieldName){
		ObjectValueType result = ObjectValueType.NULL;
		NodeList nl = findNode(fieldName);
		if(nl.getLength() == 0){
			result = ObjectValueType.NULL; // Null