RFR: JDK-8296226: Add constructors (String,Throwable) and (Throwable) to InvalidParameterException

ExE Boss duke at openjdk.org
Thu Nov 3 12:19:29 UTC 2022


On Thu, 3 Nov 2022 09:07:44 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> This change adds constructors (String,Throwable) and (Throwable) to InvalidParameterException and uses them at a few places in the jdk coding.

These should probably have `@since` tags:

src/java.base/share/classes/java/security/InvalidParameterException.java line 68:

> 66:      * @param msg the detail message.
> 67:      * @param cause the cause.
> 68:      */

Suggestion:

     * @since 20
     */

src/java.base/share/classes/java/security/InvalidParameterException.java line 78:

> 76:      *
> 77:      * @param cause the cause.
> 78:      */

Suggestion:

     * @since 20
     */

-------------

PR: https://git.openjdk.org/jdk/pull/10966


More information about the security-dev mailing list