Code example for TransformerConfigurationException

0
  } 
 
  public void setFeature(String name, boolean value)
    throws TransformerConfigurationException 
  { 
    throw new TransformerConfigurationException(name);
  } 
 
  /** 
   *  Returns a new instance of class {@link Transformer} for a 
   *  null souce. 
   */ 
  public Transformer newTransformer ()
    throws TransformerConfigurationException 
  { 
    return newTransformer (null); 
  } 
 
  /** 
   *  Returns a new instance of class {@link Transformer} for 
   *  the given souce.