return; skipRoot("domain");
return; skipRoot("domain");
return; skipRoot("domain");
private void read() throws XMLStreamException, EndDocumentException, FileNotFoundException { createParser(); getConfigRefName(); try { // this will fail if config is above servers in domain.xml! getConfig(); // might throw findOtherStuff(); } catch (EndDocumentException ex) { createParser(); skipRoot("domain"); getConfig(); findOtherStuff(); Logger.getLogger(MiniXmlParser.class.getName()).log( Level.FINE, strings.get("secondpass")); } finalTouches(); }
private void read() throws XMLStreamException, EndDocumentException, FileNotFoundException { createParser(); getConfigRefName(); try { // this will fail if config is above servers in domain.xml! getConfig(); // might throw findOtherStuff(); } catch (EndDocumentException ex) { createParser(); skipRoot("domain"); getConfig(); findOtherStuff(); Logger.getLogger(MiniXmlParser.class.getName()).log( Level.FINE, strings.get("secondpass")); } finalTouches(); }
private void read() throws XMLStreamException, EndDocumentException, FileNotFoundException { createParser(); getConfigRefName(); try { // this will fail if config is above servers in domain.xml! getConfig(); // might throw findOtherStuff(); } catch (EndDocumentException ex) { createParser(); skipRoot("domain"); getConfig(); findOtherStuff(); Logger.getLogger(MiniXmlParser.class.getName()).log( Level.FINE, strings.get("secondpass")); } finalTouches(); }