Code example for ParserConfigurationException

      documentBuilder = new DocumentBuilderImpl(this, attributes);
    catch (Exception e)
      throw new ParserConfigurationException(e.getMessage());
    return documentBuilder;
   * Allows the user to retrieve specific attributes on the underlying  
   * implementation. 
   * @param name  the name of the attribute. 
   * @return the value of the attribute.  
   * @throws IllegalArgumentException if the underlying implementation  
   *         doesn't recognize the attribute. 
Connect your IDE to all the code out there  Get Codota for Java