Skip to content

Commit 55b241e

Browse files
committed
Remove mentioning of ProviderException
1 parent 1cff1fb commit 55b241e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/java.base/share/classes/com/sun/crypto/provider/DHPrivateKey.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
import java.security.KeyRep;
3333
import java.security.PrivateKey;
3434
import java.security.InvalidKeyException;
35-
import java.security.ProviderException;
3635
import javax.crypto.spec.DHParameterSpec;
3736
import sun.security.util.*;
3837

@@ -208,8 +207,6 @@ private static byte[] encode(BigInteger p, BigInteger g, int l,
208207
* @param x the private value
209208
* @param p the prime modulus
210209
* @param g the base generator
211-
*
212-
* @throws ProviderException if the key cannot be encoded
213210
*/
214211
DHPrivateKey(BigInteger x, BigInteger p, BigInteger g)
215212
throws InvalidKeyException {
@@ -225,8 +222,6 @@ private static byte[] encode(BigInteger p, BigInteger g, int l,
225222
* @param p the prime modulus
226223
* @param g the base generator
227224
* @param l the private-value length
228-
*
229-
* @throws ProviderException if the key cannot be encoded
230225
*/
231226
DHPrivateKey(BigInteger x, BigInteger p, BigInteger g, int l) {
232227
this.x = x;

0 commit comments

Comments
 (0)