mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8251542: Several small Javadoc errors in java.base
Fixing wrong exception type in throws clause and wrong return type description Reviewed-by: darcy, dfuchs, mullan, mchung, rriggs
This commit is contained in:
parent
eaeddeddb1
commit
d4626d89cc
8 changed files with 11 additions and 13 deletions
|
@ -80,7 +80,7 @@ javax.crypto.interfaces.DHPrivateKey, Serializable {
|
|||
* @param p the prime modulus
|
||||
* @param g the base generator
|
||||
*
|
||||
* @exception ProviderException if the key cannot be encoded
|
||||
* @throws ProviderException if the key cannot be encoded
|
||||
*/
|
||||
DHPrivateKey(BigInteger x, BigInteger p, BigInteger g)
|
||||
throws InvalidKeyException {
|
||||
|
@ -97,7 +97,7 @@ javax.crypto.interfaces.DHPrivateKey, Serializable {
|
|||
* @param g the base generator
|
||||
* @param l the private-value length
|
||||
*
|
||||
* @exception InvalidKeyException if the key cannot be encoded
|
||||
* @throws ProviderException if the key cannot be encoded
|
||||
*/
|
||||
DHPrivateKey(BigInteger x, BigInteger p, BigInteger g, int l) {
|
||||
this.x = x;
|
||||
|
@ -118,7 +118,7 @@ javax.crypto.interfaces.DHPrivateKey, Serializable {
|
|||
*
|
||||
* @param encodedKey the encoded key
|
||||
*
|
||||
* @exception InvalidKeyException if the encoded key does not represent
|
||||
* @throws InvalidKeyException if the encoded key does not represent
|
||||
* a Diffie-Hellman private key
|
||||
*/
|
||||
DHPrivateKey(byte[] encodedKey) throws InvalidKeyException {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue