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

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 8ed432b  Fix Javadoc errors
8ed432b is described below

commit 8ed432b3a62157ce766dc76c4deb8579bd1e6bba
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Mar 15 19:46:10 2021 +0000

    Fix Javadoc errors
---
 java/org/apache/coyote/http2/Http2Parser.java | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/java/org/apache/coyote/http2/Http2Parser.java 
b/java/org/apache/coyote/http2/Http2Parser.java
index 0550496..65be925 100644
--- a/java/org/apache/coyote/http2/Http2Parser.java
+++ b/java/org/apache/coyote/http2/Http2Parser.java
@@ -759,8 +759,9 @@ class Http2Parser {
          * @param swallowedDataBytesCount   The number of bytes that the parser
          *                                  swallowed.
          *
-         * @throws ConnectionException
-         * @throws IOException
+         * @throws ConnectionException If an error fatal to the HTTP/2
+ *                 connection occurs while swallowing the payload
+         * @throws IOException If an I/O occurred while swallowing the payload
          */
         void onSwallowedDataFramePayload(int streamId, int 
swallowedDataBytesCount) throws ConnectionException, IOException;
 
@@ -801,7 +802,8 @@ class Http2Parser {
          *                      frame
          * @param size          The payload size of the swallowed frame
          *
-         * @throws IOException
+         * @throws IOException If an I/O occurred while swallowing the unknown
+         *         frame
          */
         void onSwallowedUnknownFrame(int streamId, int frameTypeId, int flags, 
int size) throws IOException;
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to