## Uses of Class
javax.xml.transform.TransformerException

- Packages that use TransformerException
  Package | Description
  --- | ---
  javax.xml.transform | This package defines the generic APIs for processing transformation instructions, and performing a transformation from source to result.

- - ### Uses of TransformerException in javax.xml.transform

    Subclasses of TransformerException in javax.xml.transform
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `TransformerConfigurationException` Indicates a serious configuration error.

    Methods in javax.xml.transform with parameters of type TransformerException
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | ErrorListener.`error(TransformerException exception)` Receive notification of a recoverable error.
    `void` | ErrorListener.`fatalError(TransformerException exception)` Receive notification of a non-recoverable error.
    `void` | ErrorListener.`warning(TransformerException exception)` Receive notification of a warning.

    Methods in javax.xml.transform that throw TransformerException
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | ErrorListener.`error(TransformerException exception)` Receive notification of a recoverable error.
    `void` | ErrorListener.`fatalError(TransformerException exception)` Receive notification of a non-recoverable error.
    `Source` | URIResolver.`resolve(String href, String base)` Called by the processor when it encounters an xsl:include, xsl:import, or document() function.
    `abstract void` | Transformer.`transform(Source xmlSource, Result outputTarget)` Transform the XML `Source` to a `Result`.
    `void` | ErrorListener.`warning(TransformerException exception)` Receive notification of a warning.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.