Code example for FactoryConfigurationError

Methods: getMessage

0
		{ 
			return SAXParserFactory.newInstance();
		} 
		catch(FactoryConfigurationError e)
		{ 
			throw new BuildException("XML parser factory has not been " + "configured correctly: " + e.getMessage(), e);
		} 
	} 
 
	/** 
	 * Returns a newly created SAX 1 Parser, using the default parser 
	 * factory. 
	 * 
	 * @return a SAX 1 Parser. 
	 * @throws BuildException on error. 
	 * @see #getParserFactory 
	 * @since Ant 1.5 
	 */ 
	public static Parser getParser() throws BuildException
	{ 
		try