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

gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/master by this push:
     new 3c68106b7b improve exception docs (#1316)
3c68106b7b is described below

commit 3c68106b7bb1fdf82fbdba4fb96c5dc13fcbbea6
Author: Guillaume Nodet <gno...@gmail.com>
AuthorDate: Mon Nov 20 07:44:19 2023 +0100

    improve exception docs (#1316)
    
    Co-authored-by: Elliotte Rusty Harold <elh...@ibiblio.org>
---
 .../java/org/apache/maven/internal/xml/XmlNodeBuilder.java   | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git 
a/maven-xml-impl/src/main/java/org/apache/maven/internal/xml/XmlNodeBuilder.java
 
b/maven-xml-impl/src/main/java/org/apache/maven/internal/xml/XmlNodeBuilder.java
index 75b8201adc..75a83d0a1b 100644
--- 
a/maven-xml-impl/src/main/java/org/apache/maven/internal/xml/XmlNodeBuilder.java
+++ 
b/maven-xml-impl/src/main/java/org/apache/maven/internal/xml/XmlNodeBuilder.java
@@ -51,8 +51,8 @@ public class XmlNodeBuilder {
      * @param locationBuilder the builder
      * @since 3.2.0
      * @return DOM
-     * @throws XmlPullParserException xml exception
-     * @throws IOException io
+     * @throws XmlPullParserException XML well-formedness error
+     * @throws IOException I/O error reading file or stream
      */
     public static XmlNodeImpl build(Reader reader, InputLocationBuilder 
locationBuilder)
             throws XmlPullParserException, IOException {
@@ -80,8 +80,8 @@ public class XmlNodeBuilder {
      * @param locationBuilder the builder
      * @since 3.2.0
      * @return DOM
-     * @throws XmlPullParserException xml exception
-     * @throws IOException io
+     * @throws XmlPullParserException XML well-formedness error
+     * @throws IOException I/O error reading file or stream
      */
     public static XmlNodeImpl build(Reader reader, boolean trim, 
InputLocationBuilder locationBuilder)
             throws XmlPullParserException, IOException {
@@ -104,8 +104,8 @@ public class XmlNodeBuilder {
      * @param parser the parser
      * @param trim do trim
      * @return DOM
-     * @throws XmlPullParserException xml exception
-     * @throws IOException io
+     * @throws XmlPullParserException XML well-formedness error
+     * @throws IOException I/O error reading file or stream
      */
     public static XmlNodeImpl build(XmlPullParser parser, boolean trim, 
InputLocationBuilder locationBuilder)
             throws XmlPullParserException, IOException {

Reply via email to