This is an automated email from the ASF dual-hosted git repository.

garydgregory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/commons-xml.git

commit 6d91bea154d8f9ecd3999ee9ff2db7cf895d965f
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Aug 26 12:44:35 2026 -0400

    Javadoc: Propagate FactoryConfigurationError from
    XMLInputFactory.newInstance()
---
 src/main/java/org/apache/commons/xml/XmlFactories.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/xml/XmlFactories.java 
b/src/main/java/org/apache/commons/xml/XmlFactories.java
index a60adb6..e6ae9ac 100644
--- a/src/main/java/org/apache/commons/xml/XmlFactories.java
+++ b/src/main/java/org/apache/commons/xml/XmlFactories.java
@@ -178,7 +178,8 @@ public static TransformerFactory newTransformerFactory() {
      * </p>
      *
      * @return A hardened factory.
-     * @throws IllegalStateException if a required hardening setting cannot be 
applied to the underlying implementation.
+     * @throws IllegalStateException     Thrown if a required hardening 
setting cannot be applied to the underlying implementation.
+     * @throws FactoryConfigurationError Thrown if an instance of this factory 
cannot be loaded.
      */
     public static XMLInputFactory newXMLInputFactory() {
         return StaxHardener.harden(XMLInputFactory.newInstance());

Reply via email to