There was an error while loading. Please reload this page.
1 parent 6d91bea commit 77d6bc2Copy full SHA for 77d6bc2
1 file changed
src/main/java/org/apache/commons/xml/XmlFactories.java
@@ -197,7 +197,8 @@ public static XMLInputFactory newXMLInputFactory() {
197
* </p>
198
*
199
* @return A hardened factory.
200
- * @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.
201
+ * @throws RuntimeException Thrown if there is a failure in creating an {@link XPathFactory} for the default object model.
202
*/
203
public static XPathFactory newXPathFactory() {
204
return XPathHardener.harden(XPathFactory.newInstance());
0 commit comments