Code example for FactoryConfigurationError

Methods: getMessage

0
    public static SAXParserFactory newParserFactory() throws ArooaException {
 
        try { 
            return SAXParserFactory.newInstance();
        } catch (FactoryConfigurationError e) {
            throw new ArooaException("XML parser factory has not been " 
                                     + "configured correctly: " 
                                     + e.getMessage(), e);
        } 
    } 
 
    /** 
     * Returns a newly created SAX 2 XMLReader, using the default parser 
     * factory. 
     * 
     * @return a SAX 2 XMLReader. 
     * @see #getParserFactory 
     */ 
    public static XMLReader getXMLReader() throws ArooaException {
        try {