< prev index next >
src/java.base/share/classes/java/security/spec/ECPublicKeySpec.java
Print this page
rev 56290 : 8230648: Replace @exception tag with @throws in java.base
Summary: Minor coding style update of javadoc tag in any file in java.base
Reviewed-by: prappo, lancea
*** 1,7 ****
/*
! * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 45,57 ****
* Creates a new ECPublicKeySpec with the specified
* parameter values.
* @param w the public point.
* @param params the associated elliptic curve domain
* parameters.
! * @exception NullPointerException if {@code w}
* or {@code params} is null.
! * @exception IllegalArgumentException if {@code w}
* is point at infinity, i.e. ECPoint.POINT_INFINITY
*/
public ECPublicKeySpec(ECPoint w, ECParameterSpec params) {
if (w == null) {
throw new NullPointerException("w is null");
--- 45,57 ----
* Creates a new ECPublicKeySpec with the specified
* parameter values.
* @param w the public point.
* @param params the associated elliptic curve domain
* parameters.
! * @throws NullPointerException if {@code w}
* or {@code params} is null.
! * @throws IllegalArgumentException if {@code w}
* is point at infinity, i.e. ECPoint.POINT_INFINITY
*/
public ECPublicKeySpec(ECPoint w, ECParameterSpec params) {
if (w == null) {
throw new NullPointerException("w is null");
< prev index next >