text: public static Element getFirstChildOrFail(Element e) throws ParserException {Element kid = getFirstChildElement(e);if (null == kid) {throw new ParserException(e.getTagName()+ " does not contain a child element");}return kid;}