Team LiB
Previous Section Next Section

TransformerConfigurationExceptionjavax.xml.transform

Java 1.4serializable checked

Signals a problem creating a transformer object. This may occur, for exmaple, if there is a syntax error in the XSL stylesheet that contains the transformation instructions. Use the inherited getLocator( ) method to obtain a SourceLocator that describes the document location at which the exception occurred.

Figure 20-5. javax.xml.transform.TransformerConfigurationException


public class TransformerConfigurationException extends TransformerException {
// Public Constructors
     public TransformerConfigurationException( );  
     public TransformerConfigurationException(Throwable e);  
     public TransformerConfigurationException(String msg);  
     public TransformerConfigurationException(String message, SourceLocator locator);  
     public TransformerConfigurationException(String msg, Throwable e);  
     public TransformerConfigurationException(String message, SourceLocator locator, 
        Throwable e);  
}

Thrown By

Templates.newTransformer( ), transformerFactory.{getAssociatedStylesheet( ), newTemplates( ), newtransformer( ), setFeature( )}, javax.xml.transform.sax.SAXTransformerFactory.{newTemplatesHandler( ), newtransformerHandler( ), newXMLFilter( )}

    Team LiB
    Previous Section Next Section