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

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

commit 14adbe2e8e69bf6b10718145d35ff87dc8f3084d
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 3f0e1b8..2da5049 100644
--- a/java/org/apache/coyote/http2/Http2Parser.java
+++ b/java/org/apache/coyote/http2/Http2Parser.java
@@ -682,8 +682,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;
 
@@ -724,7 +725,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