RFR: 8253005: Add `@throws IOException` in javadoc for `HttpEchange.sendResponseHeaders`
Chris Hegarty
chegar at openjdk.java.net
Mon Nov 2 17:48:55 UTC 2020
On Mon, 2 Nov 2020 17:14:28 GMT, Patrick Concannon <pconcannon at openjdk.org> wrote:
> Hi,
>
> Could someone please review my fix for JDK-8253005: 'Add `@throws IOException` in javadoc for `HttpEchange.sendResponseHeaders`' ?
>
> The method `HttpEchange.sendResponseHeaders` throws an `IOException` but is unspecified in its javadoc. This fix adds an `@throws IOException` to its specification and a description of the conditions under which the exception is thrown.
>
> Kind regards,
> Patrick
Marked as reviewed by chegar (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/1014
More information about the net-dev
mailing list